When creating an HTTP/HTTPS subscription in AWS SNS, you can observe that the subscription is hanging in the status: "Pending confirmation" SNS to the specified URL makes a POST request in which it sends data in JSON format and expects to receive a key value in response: "SubscribeURL". But if the application does not … Continue reading " AWS SNS – HTTP(S) Subscription: manual confirmation"
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"
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"
Install Python PIP: CentOS: Ubuntu: