See the list of AMI Linux add-ons: Install from php7.2 extensions:
As it turned out, CodeBuild does not have a built-in incremental variable for the build number, as in Jenkins, for example. The solution was found on medium.com To add the build number you will need the following services: AWS SSM (Systems Manager Parameter Store) AWS Lambda AWS CloudWatch AWS IAM Create Parameter Store Go …
Continue reading "AWS – CodeBuild: Add an incremental build number"
In this example, we will consider creating a repository in CodeCommit and building a simple Docker image using CodeBuild and launching it in ECR. Create a repository in CodeCommit. My repository name is "artem-test" In order to work with the repository, make sure that your user has an SSH key loaded. If it is already …
Continue reading "AWS – CodeCommit and CodeBuild build Docker image and push it into ECR"
All actions will also be relevant for CentOS systems. In this example, a user will be added for access via SFTP using an SSH key to the web directory under Apache management. There is a default for Apache group "apache", if necessary, replace the desired one. All sites are on the dir: Add the …
Continue reading "Amazon Linux 2 AMI – SFTP access"
When executed, execute "terraform apply" during execution when creating the "IAM Profile", it ends with the following error: Solution: Use AWS Cli to find the IAM Profile and delete it. See the list of existing IAM Profiles: Remove unnecessary IAM Profile:
An example of CloudFormation for transfer to the inside of EC2 instance "ACCESS_KEY" and "SECRET_KEY" directly from the IAM to access the S3 Bucket using AWS-Cli.
We create S3 Bucket, we make it not public, we don’t change anything in the access rights. Immediately find the ARN created baketa. Create a user, on the "Permisson" tab, go to "Attach existing policies directly" and find "AmazonS3ReadOnlyAccess". Let’s see the created user ARN. We return to the settings of S3 Bucket already created …
Continue reading "AWS – S3 Bucket Read-only"
Terraform configuration example, which creates 2 VPCs in different regions (EU and US) and creates connectivity between them. variables.tf
Terraform configuration example that creates Kubernetes cluster (Bare Metal) on AWS EC2. Creates Ingress with NodePort. IP addresses Ingress nodes. This template creates the following EC2 instances: 1 manager 2 workers 2 ingresses variables.tf