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…
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…
Extend your ec2 Linux disk without reboot on Amazon Web Services
For some reason, you have to extend your ec2 Linux server with our reboot and securely. In this port, you will learn how you can extend your ec2 Linux disk on aws. In this example, you will see extend the disk size from 80GiB to 120GiB. Step 1: Modify Volume Login to your AWS Console…
Create a New Grant User on AWS RDS (MariaDB)
Today, I’ve played with AWS RDS with MariaDB. In the normally, AWS is created just one user for access AWS RDS. Here is the steps for create a new grant user on AWS RDS with MariaDB. This command means you successfully created your RDS user for MariaDB with all grant options and you set a…
Amazon S3 CORS Settings with CloudFront on Amazon Web Services
If you are serving static content directly Amazon S3 via CloudFront (CDN) you should probably get an error about fonts, images or other static contents to deliver for your users. Actually, it’s not complicated. You can fix this issue on your Amazon S3 Bucket CORS settings. What is Amazon S3 CORS? Cross Origin Resource Sharing…
Fix “Error: rpmdb open failed” on CentOS or Amazon Linux 2
Yesterday, I have started to test some services on running Amazon Linux 2 powered by Amazon Web Services cloud. For some reason, my package manager yum is broken and when I started to update my yum database, I’ve got an error about rpmdb open failed. You can see my error below. If you are running…
Error: No space left on the device when starting/stopping services only
I’m using Amazon SSM Agent for connecting to EC2 instance via securely. Amazon SSM Agent is also able to connect to the EC2 instance console via aws.amazon.com web console. So, this is my preferred way. About a few days ago, when I tried to connect to EC2 via Amazon SSM Agent it doesn’t respond and…