Category

Cloud

CloudFormation Ref & GetAtt cheatsheet

After joining my current company Sourced Group, and I need to deal a lot with CloudFormation in my daily working life, I manage to find a full list of Ref and GetAtt cheatsheet which help me a lot when I working on CloudFormation. Please bear in mind that difference resources type in AWS, there will…

Former2 – A tools for you to generate Infrastructure as code from your existing resources

Former2 is a reverse engineering tools that allow you to generate Infrastructure-as-Code from your existing resources within your AWS account. By using the AWS JavaScript SDK, Former2 will scan across your infrastructure and present you with the list of resources for you to choose which one to generate outputs for. This is very helpful tools…

Importing AWS EC2 resources back to Terraform

Terraform is a great Infrastructure as Code tools where it allow you to define and deploy all your resources to the public cloud such as AWS, Azure, GCP and more. Terraform is a stateful IAC tools where it will use a state file call terraform.tfstate store the state of your resources, keep track the metadata,…

Installing OpenVPN server in AWS EC2 with User data and Terraform

This is the terraform version of installing OpenVPN in the EC2 with user data, and it’s the 2nd part from the previous post to install the OpenVPN using the AWS EC2 console. Everything will be work the same but I’m using the terraform script to deploy the resources. I will use the terraform script to…

Data encryption using AWS KMS Key

Security always a top priority when come to the system design and development, encryption is vital when deal with sensitive data which prevent the access by any unauthorized user. AWS KMS (Key Management Service) is the service that manages encryption keys on AWS. These encryption keys are called “Customer Master Keys” or CMKs for short. KMS…

AWS Certified Solution Architect Professional

Finally, I completed one of the most difficult exam in AWS – Solution Architect Professional, I should be consider myself lucky as I passed the exam on my first attend. One of the biggest bonus that I get from this exam is that my AWS Solution Architect Associate level qualification being extend 3 more years.…

Passing client User-Agent from CloudFront to origin

These few days I try to setup the CloudFront for my website and everything working fine as per expected except the real user agent is not passing from the CloudFront to my origin server, instead it’s replace the user-agent to “Amazon CloudFront” when I check from my Nginx Log. After some Googling, and find out…

Updating AWS CloudFront IP to Nginx

CloudFront become a very common CDN/Reverse proxy nowadays because of their high availability and easy to use. So if you place a CloudFront as a proxy server in front of your Nginx web server, than the Nginx web server not able to get the real customer IP address. Same thing will happen if you using…

Hosting private static content in S3 using AWS Cloudfront

AWS S3 is always a best place to keep your static content for your website due to the nature of high durability and also high availability. And it’s always highly recommend to set your S3 bucket as private, but how to host a web static file without a public access? This is where the AWS…

google.com, pub-3772983857049267, DIRECT, f08c47fec0942fa0