Scaling PHP Applications on AWS

You can understand the running highly available, performant, and secure PHP applications on AWS. Amazon Route 53 routes end-user requests resolving Domain Name Service (DNS). Amazon CloudFront caches content and accelerates delivery, leveraging global points of presence. CloudFront also handles SSL ending, integrating with Amazon Certificate Manager, which automatically creates and renews SSL certificates at … Read more

Create an S3 Bucket and Set a Policy via CLI

I really like to use CLI commands and it’s my daily routine. Today, I’ll tell to you “How do you create an S3 Bucket on AWS” and “Put an S3 Bucket Policy” via CLI. Let’s start… The first thing, you should set your AWS_ACCESS_KEY and AWS_SECRET_ACCESS_KEY. It means you should run aws configure the command … Read more

Issue a Let’s Encrypt SSL with the AWS Route53

Hello, In this article, I want to tell you how you can issue a Let’s Encrypt SSL with the AWS Route53 service. Let’s start to learn. What is Let’s Encrypt? Let’s Encrypt is a non-profit certificate authority run by Internet Security Research Group (ISRG) that provides X.509 certificates for Transport Layer Security encryption at no … Read more

Differences between AWS CLI v1 and v2

Sometimes, aws-cli doesn’t run your cli commands if you are using v1. If your aws cli is v1, I should recommend updating. In this article, you’ll learn in which conditions you should use an AWS CLI v2. AWS CLI v1 is written in Python language and for v1, you should install Python first but if … Read more

Deploy HA nginx to AWS ECS with Geolocation Routing via Terraform

Today, I want to refactor the Deploy nginx docker to AWS ECS with Terraform Automation project from a single region to multi-region support. This time, I pushed all of Terraform source code to my GitLab account. Now, the updated project is creating all infrastructure in Ireland and N.Virginia region.Now, we have a geo-location-based route policy … Read more

Deploy nginx docker to AWS ECS with Terraform Automation

Last night, I want to play with AWS ECS Service. I wrote a terraform code to deploy everything at the same time. The terraform is creating all of the resources for run ECS in different VPC and isolated from your other resources. I used nginx:alpine docker image for this project but if you need, you … Read more

Connect your AWS to GCP with Terraform via IPSec Site-to-Site VPN

Today, I wrote another IaaC (infrastructure as a code) for my needs. You can create a secure VPN connection (IPsec) between Amazon Web Services (AWS) and Google Cloud Platform (GCP). What can this do? Creating a Customer Gateway on AWS. Creating a Virtual Private Gateway on AWS. Creating a Site-to-Site VPN Connection on AWS. Creating … Read more

How to secure your Amazon Web Services account

Security first because security is so important! When you create an Amazon Web Services account, that account called a root. Root level account has got full access to all resources running in the cloud environment and I totally recommended don’t use your root account to manage the resources. I hope, this article will help you … Read more

Set two different Target Groups on AWS Load Balancer with Terraform

Last week, I wrote an infrastructure as a code via Terraform. In my case, I need to forward the traffic from AWS Application Load Balancer public interface to two different target groups. The hashicorp language (HCL) not a hard language but the document is missing a lot of subjects and also there are some points … Read more