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…
Author: Ercan
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…
Take your GitLab backup everyday if it works in Docker
I’m using GitLab in docker (because I love containerization) and I’m really okay with that because I can move the GitLab environment everywhere if I need and I can feel more elastic when I’m using docker. GitLab backups are really so important because you are keeping all of the source code and maybe wiki maybe…
Find large files in CentOS, ubuntu and MacOS easily
Sometimes, maybe everybody needs to check large files in the system. There some useful commands which I’m using often. Find the big files in Linux easily. Here is the first pattern: If file size more than 250 MB in the system: Here is the results: