How to AWS Assume Role and then revert to the previous role after
May 1, 2024
If you need to assume a role in AWS and then revert back to the previous role once complete, you can use the following snippet of code:
Read More
Essential Policies for Administering an AWS EKS Cluster
March 22, 2024
So, what policies does my role need to create an AWS EKS cluster and be the admin?
Read More
Retrieve the Latest Versioned Tag from AWS ECR in Bash
February 21, 2024
Managing Docker images in Amazon Elastic Container Registry (ECR) is a common task for many developers and DevOps practitioners.
Read More
How to install MySQL on AmazonLinux2023
January 29, 2024
If you are using Amazon Linux 2023 base-image, and you have tried to run yum install -y mysql, you will soon realize that it doesn’t work.
Read More
Supercharge Your Code with Amazon CodeWhisperer
October 29, 2023
Amazon CodeWhisperer is a cutting-edge service that leverages advanced AI and machine learning to provide real-time code generation, recommendations, and security analysis.
Read More
Connect IPv4 and IPv6 Networks Seamlessly with Amazon VPC Lattice
October 26, 2023
As the internet continues to grow, the transition from IPv4 to IPv6 has become more critical.
Read More
Building Event-Driven Architectures with Amazon EventBridge
October 25, 2023
In the realm of real-time data streaming applications, managing the routing and processing of events efficiently is a complex challenge.
Read More
Accelerating Machine Learning with SageMaker Jumpstart
October 22, 2023
Machine learning (ML) projects can be complex, time-consuming, and resource-intensive. Amazon SageMaker Jumpstart aims to change that by providing pre-built solutions, pre-trained models, and end-to-end ML capabilities.
Read More
Understanding the AWS Well-Architected Framework
October 19, 2023
The AWS Well-Architected Framework is more than just a set of best practices; it’s a blueprint for success in the cloud.
Read More
Mastering Advanced Networking in EKS and Kubernetes
October 16, 2023
Kubernetes has revolutionized container orchestration, and Amazon’s Elastic Kubernetes Service (EKS) is one of the most popular managed Kubernetes solutions available today.
Read More
How to Programmatically get Amazon IP Ranges/CIDRs
October 11, 2023
Amazon Web Services (AWS) operates an extensive network infrastructure with a vast number of IP addresses and CIDR blocks.
Read More
AWS Assume to another role
October 8, 2023
OUT=$(aws sts assume-role --role-arn arn:aws:iam::0123456789:role/OrganizationAccountAccessRole --role-session-name test) export AWS_ACCESS_KEY_ID=$(echo $OUT | cut -d '"' -f 6 ) export AWS_SECRET_ACCESS_KEY=$(echo $OUT | cut -d '"' -f 10 ) export AWS_SESSION_TOKEN=$(echo $OUT | cut -d '"' -f 14 ) aws sts get-caller-identity
Read More
Private Application Load Balancer for EKS in Terraform
August 30, 2023
Amazon Web Services (AWS) provides a powerful combination of services for building, deploying, and managing applications.
Read More
Secure Efficient Server Management with AWS Systems Manager
August 24, 2023
In the ever-evolving landscape of cloud computing, AWS (Amazon Web Services) continually introduces innovative solutions to enhance operational efficiency, security, and ease of management.
Read More
How to Get a List of Available Regions from AWS CLI
August 23, 2023
AWS (Amazon Web Services) is a prominent cloud service provider that offers a wide range of services to businesses and individuals worldwide.
Read More
AWS Production-DR Failover: Advanced Strategies
July 11, 2023
Introduction Implementing failover between a production (Prod) account and a disaster recovery (DR) account is a critical aspect of ensuring high availability and business continuity in AWS.
Read More
Unleashing the Power: Lambda - A Killer Feature in AWS
June 30, 2023
In the world of cloud computing, Amazon Web Services (AWS) has long been a dominant player, providing a comprehensive suite of services to meet the diverse needs of businesses.
Read More
How to Share a VPC from one AWS Account to Another
June 27, 2023
To share a Virtual Private Cloud (VPC) from one AWS account to another, you can use the AWS Resource Access Manager (RAM) service.
Read More
[Solved] Set CloudWatch Logs role ARN in account settings
June 26, 2023
The error message you mentioned, “CloudWatch Logs role ARN must be set in account settings to enable logging,” typically occurs when you’re trying to enable logging for an AWS service that requires a CloudWatch Logs role, but the necessary role hasn’t been set up or configured correctly in your account settings.
Read More
How to Create CloudFormation with Multiple Files
June 25, 2023
To create a CloudFormation (CFN) stack with multiple files, you can follow these general steps:
Read More
Make EKS cluster private with NodeGroup access
June 21, 2023
The Theory To make an Amazon Elastic Kubernetes Service (EKS) cluster private and allow nodes to join through a node group, you need to follow a few steps.
Read More
How do you create an EKS cluster using CloudFormation
June 17, 2023
The steps to achieve this To create an Amazon Elastic Kubernetes Service (EKS) cluster using CloudFormation, you can follow these steps:
Read More
How to connect an API Gateway to Inline Lambda in Terraform
June 16, 2023
To connect an API Gateway to an inline Lambda function using Terraform, you can follow these steps:
Read More
API Gateway to Inline Lambda in CloudFormation
June 15, 2023
To connect an API Gateway to an inline Lambda function using CloudFormation, you can follow these steps:
Read More
How to connect an API Gateway to Lambda in CloudFormation
June 14, 2023
To connect an API Gateway to a Lambda function using CloudFormation, you can follow these steps:
Read More
Create DynamoDB Table & Add Items using Python 3 from Lambda
June 13, 2023
To create a DynamoDB table and add items to it using Python 3 from AWS Lambda, you can use the AWS SDK for Python, also known as Boto3.
Read More
How to create a Site-to-Site VPN in Boto3 Python
June 12, 2023
To create a site-to-site VPN using the Boto3 library in Python, you can utilize the boto3.
Read More
How to create a Site-to-Site VPN in Terraform
June 11, 2023
To create a site-to-site VPN using Terraform, you can use the aws_vpn_gateway and aws_vpn_connection resources from the AWS provider.
Read More
How to create a Site-to-Site VPN in CloudFormation
June 10, 2023
To create a site-to-site VPN (Virtual Private Network) using AWS CloudFormation, you can use the AWS::EC2::VPNGateway and AWS::EC2::VPNConnection resources.
Read More
How to AWS sts assume role in one command - without jq
June 9, 2023
The issue - what it takes to assume a role To assume an AWS role in the CLI, you will have to do something like this:
Read More
How to create a Lambda in CloudFormation
June 7, 2023
You can create a Lambda in CloudFormation as follows: Option 1 - Inline code Resources: MyLambdaFunction: Type: AWS::Lambda::Function Properties: FunctionName: MyLambdaFunction Runtime: python3.
Read More
How to create a Lambda in Terraform
June 7, 2023
To create an AWS Lambda function using Terraform, you need to define the necessary resources in a Terraform configuration file.
Read More
How to create a Bastion server in Terraform
June 6, 2023
To create a Bastion server using Terraform, you need to define the necessary resources in a Terraform configuration file.
Read More
How to create a Bastion server in CloudFormation
June 5, 2023
To create a Bastion server using AWS CloudFormation, you need to define the necessary resources in a CloudFormation template.
Read More
How to you create a Cross Account Role in Terraform
June 4, 2023
To create a cross-account role in Terraform, you need to perform the following steps:
Read More
How to you create a Cross Account Role in CloudFormation
June 3, 2023
To create a cross-account role in CloudFormation, you can follow these steps:
Read More
How to create Public and Private Subnets in CloudFormation
June 2, 2023
To create public and private subnets in AWS CloudFormation, you can use the AWS CloudFormation Template Language (CFT) to define your network configuration.
Read More
How to create Public and Private Subnets in Terraform
June 1, 2023
To create public and private subnets in Terraform, you can use the AWS provider to define your network configuration.
Read More
Create Internet Gateway & Assign to EC2 in CloudFormation
May 31, 2023
To create an Internet Gateway and associate it with an EC2 instance using AWS CloudFormation, you can follow these steps:
Read More
Create Internet Gateway & Assign to EC2 in Terraform
May 30, 2023
To create an Internet gateway and assign it to an EC2 instance using Terraform, you can follow these steps:
Read More
How to configure Terraform to use Local Providers from Nexus
May 29, 2023
If your organization has blocked registry.terraform.io and has instead downloaded the provider binaries to Nexus, then you can do the following to still make your Terraform execute correctly.
Read More
[Solved] Fargate Can't Read Secrets from Secret Manager
May 28, 2023
If you’re running a Fargate task and it’s not able to read secrets from AWS Secret Manager, there are a few things you can check:
Read More
How to Deploy a Java Application in AWS ECS using Terraform
May 23, 2023
In order to deploy a Java application into AWS ECS (Elastic Container Service) using Terraform, we need to consider a few different things.
Read More
What are the different types of AWS API Gateway Protocols?
May 21, 2023
Amazon API Gateway supports various protocols for exposing APIs, including:
Read More
[Solved] AWS Error: TooManyBuckets - Bucket Limit Exceeded
April 19, 2023
If you get the following error: │ Error: creating Amazon S3 (Simple Storage) Bucket (<your-bucket-name): TooManyBuckets: You have attempted to create more buckets than allowed │ status code: 400, request id: 0P1TV2VCEDKGFQNY, host id: gc9di71ONabECoBYkkzc7Lmqs0DOo2DVhV2kqCgNruNO6Okm5K3EXzosdf5MCxP8uI= │
Read More
How to Create a Simple Chatbot in Python
April 9, 2023
This is a simple chatbot in Python using the NLTK library.
Read More
Create Transit Gateway with Attachments in Terraform
April 8, 2023
The following example Terraform code snippet creates a Transit Gateway with VPC and VPN attachments:
Read More
How to Create an AWS EC2 Instance in Terraform
April 7, 2023
The following Terraform code snippet creates an EC2 instance for you.
Read More
How do you architect Disaster Recovery in AWS?
March 26, 2023
Disaster recovery (DR) in AWS involves creating a plan and set of procedures to help your organization recover from a catastrophic event, such as a natural disaster, power outage, or cyber attack, that could impact your business operations.
Read More
How to Return a List of All AWS Lambda Function Names in CLI
February 24, 2023
If you would like to list all AWS Lambda Function Names in your CLI using the AWS CLI, then you can do this:
Read More
How to Install AWS SAM CLI on Mac
February 15, 2023
If you need to install AWS SAM CLI on a Mac, then the easiest option is to use Homebrew with the following commands:
Read More
How to solve AWS MediaPackage PackagingGroup Quota Limit
January 31, 2023
If you are using AWS Elemental MediaPackage and hit the following error, then you need to either do one of the following:
Read More
How to Run Cdk Bootstrap
January 30, 2023
To bootstrap an AWS CDK environment, you simply need to do the following:
Read More
How to Get Account Number from AWS Lambda
January 24, 2023
If you need to get the current Account Number, or Account ID from within a Lambda execution, then you can access invoked_function_arn from the context and return the associated value as follows:
Read More
Summary of the Frequently Used AWS STS API calls
January 19, 2023
AssumeRole – is useful for allowing existing IAM users to access AWS resources that they don’t already have access to.
Read More
Understanding Locking and Conditional Writes in AWS DynamoDB
January 18, 2023
Optimistic locking is a strategy to ensure that the client-side item that you are updating (or deleting) is the same as the item in DynamoDB.
Read More
AWS CodeDeploy Deployment Type Options
January 17, 2023
CodeDeploy provides two (2) deployment type options: Option 1 – In-place Deployment In-place deployment: The application on each instance in the deployment group is stopped, the latest application revision is installed, and the new version of the application is started and validated.
Read More
Defining Amazon ECS Task Placement Strategies
January 16, 2023
Amazon ECS supports the following task placement strategies: binpack – Place tasks based on the least available amount of CPU or memory.
Read More
Deployment methods in AWS Elastic Beanstalk
January 15, 2023
– All at once – Deploy the new version to all instances simultaneously.
Read More
How to Find IP Address Ranges used by Amazon S3
December 13, 2022
You can query the ip-ranges Amazon AWS URL, and parse the results through jq as follows:
Read More
[Solved] jsii.errors.JSIIError: docker exited with status 1
December 8, 2022
If you get the following error while running AWS CDK:
Read More
How to Empty and Delete an S3 Bucket using the AWS CLI
November 9, 2022
Option 1 – Using AWS CLI Step 1 export bucketname='your-bucket-here' Step 2
Read More
What ports to open for FSx connection to AWS Managed Active Directory
November 8, 2022
If you are creating a FSx file system, and want to connect it to AWS Managed Active Directory, then you will need to create a VPC Security Group with the following ports:
Read More
How to create an AWS EC2 instance in CloudFormation
September 20, 2022
Create an EC2 Instance in CloudFormation If you need to create an EC2 instance in CloudFormation, then you can do the following:
Read More
How to Run Commands on an AWS ECS Cluster Task or Container
September 19, 2022
If you need to run a command, or set of commands on an AWS ECS cluster container, then you can do the following:
Read More
Understanding the Network Modes in AWS ECS
September 18, 2022
If using the EC2 launch type, the allowable network mode depends on the underlying EC2 instance’s operating system.
Read More
How to Enable ContainerInsights on AWS ECS from the AWS CLI
September 17, 2022
If you need to enable Container Insights for an ECS cluster, by using the AWS CLI, then you can do the following:
Read More
AppMesh and ECS with Imported ACM certificates on Envoy Sidecar through EFS
September 16, 2022
Summary This guide showcases the ability to use imported certificates from a third party provider (e.
Read More
How to Increase the disk size on a Cloud9 instance
September 15, 2022
If you need to increase the disk size of a Cloud9 instance, you can run the following script directly from the terminal in Cloud9:
Read More
How to Get the Instance Profile attached to an AWS EC2
September 14, 2022
If you need to get the IAM Role information from the attached EC2 role directly, you can do the following:
Read More
How to Create an AWS ECR Repository in AWS CLI
September 13, 2022
If you need to create an Elastic Container Registry (ECR) Repository from the AWS CLI, you can do the following:
Read More
How to Scale Out an AWS ECS Service
September 12, 2022
When you create the Amazon ECS service, it includes three Amazon ECS task replicas.
Read More
How to Retrieve AWS ECS Cluster Information
September 11, 2022
For more information about the Amazon ECS cluster, run the following command.
Read More
Types of communication in Amazon EKS
September 10, 2022
There are multiple types of communication in Amazon EKS environments.
Read More
[Solved] Read timeout on endpoint URL: “https://lambda.[region].amazonaws.com/2015-03-31/functions/[function-name]/invocations”
September 9, 2022
If you get the following error: Read timeout on endpoint URL: "https://lambda.
Read More
How to Force Redeployment of AWS API Gateway using AWS CloudFormation
August 23, 2022
If you have an AWS API Gateway resource, and need it to force a redeployment using CloudFormation, then you can use the TIMESTAMP trick.
Read More
How to Deploy React App to S3 and CloudFront
August 22, 2022
If you would like to deploy a React App to AWS S3 and AWS CloudFront, then you can follow this guide.
Read More
[Solved] An error occurred while calling o86.getDynamicFrame. Exception thrown in awaitResult:
August 17, 2022
If you are running a GlueJob in AWS and get the following error:
Read More
AWS CDK Commands
August 16, 2022
The AWS Cloud Development Kit (CDK) comes with a list of commands that you need to know:
Read More
How to List All Resources in an AWS Account
August 14, 2022
If you need to see a list of all the resources in your AWS Account, then you need to look into the Tag Editor.
Read More
How to Resize an AWS EBS Volume in Bash
July 27, 2022
If you need to resize an EBS volume in AWS, you can do so using bash.
Read More
How to Setup Credential Helper for AWS CodeCommit
July 25, 2022
AWS CodeCommit is a git code repository service by Amazon Web Services.
Read More
How to Approve a SageMaker model in AWS CLI
July 17, 2022
Sometimes you will need to manually approve a SageMaker model package from the AWS CLI.
Read More
How to Assume Role across Accounts in AWS
July 16, 2022
If you need to assume role between AWS accounts, or allow an account to assume a role and use resources in another AWS account, then you need to create a role and attach the following policy.
Read More
How to Recursively Delete all Files in an AWS S3 Bucket
July 5, 2022
If you need to recursively delete all files in an AWS S3 bucket, then you can do the following:
Read More
[Solved] Error creating RDS DB Instance: IAM role ARN value is not value or does not include the required permissions for: ENHANCED_MONITORING
June 28, 2022
When you are trying to create an RDS database and you get the dreaded error message:
Read More
How to create an AWS Lambda in Terraform
June 27, 2022
Step 1 – Lambda Code in Python The following code expects a python file with the contents as follows in a file called python/script1.
Read More
[Solved] Instance Profile already exists in Terraform
June 26, 2022
If you get the Instance Profile already exists error when running your Terraform apply, then it is either because an instance profile with that name already existed in the account, or because the previous terraform destroy did not remove it.
Read More
[Solved] An error occurred (UnauthorizedException) when calling ListAccounts operation: Session token not found or invalid
June 25, 2022
If you are using aws configure sso to populate your ~/.
Read More
How to Invoke an AWS Lambda from the CLI
June 23, 2022
If you want to invoke an AWS Lambda from your CLI, then the best option is to have the AWS CLI installed.
Read More
How to run AWS CLI commands based on AWS CLI Version in Bash
June 20, 2022
If you find yourself having the requirements to support both AWS CLI v1 and v2 simultaneously, then you can use the following conditional in Bash to only run the specific version required:
Read More
[Solved] Unknown options: –cli-binary-format AWS CLI
June 19, 2022
If you have tried calling the AWS CLI and got the following error:
Read More
[Solved] Network interface is in use by another service in AWS
June 10, 2022
If you have tried to delete a Security Group, or VPC, or various other resources and you get the dreaded Network interface is in use by another service error, then you can resolve this by deleting the resource through the API.
Read More
How to copy S3 objects between AWS accounts
April 28, 2022
In your source account create a customer-managed policy: { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "s3:ListBucket", "s3:GetObject" ], "Resource": [ "arn:aws:s3:::source-EXAMPLE-BUCKET", "arn:aws:s3:::source-EXAMPLE-BUCKET/*" ] }, { "Effect": "Allow", "Action": [ "s3:ListBucket", "s3:PutObject", "s3:PutObjectAcl" ], "Resource": [ "arn:aws:s3:::destination-EXAMPLE-BUCKET", "arn:aws:s3:::destination-EXAMPLE-BUCKET/*" ] } ] } In your destination bucket, update the bucket policy:
Read More
How to push multiple Dockerfile apps to AWS ECR at the same time
April 19, 2022
I have a parent directory containing multiple sub-directories. Each of these child directories is a different application and contains a Dockerfile.
Read More
How to create an AWS EKS cluster using eksctl
April 15, 2022
eksctl dramatically simplifies the creation of AWS EKS clusters, by providing a simple command-line interface.
Read More
How to get an EKS Cluster name from an AWS Region
April 13, 2022
You can use the aws cli to get the EKS cluster name, parse the first result and return it into a variable.
Read More
How to Install AWS CLI on Linux
April 7, 2022
You can download and install the AWS CLI on Linux as follows:
Read More
How to Bootstrap a Web Server on AWS EC2
April 2, 2022
When you launch an EC2 instance, you can use the user-data to bootstrap a instance creation script.
Read More
How to Update Kubectl Config from AWS EKS
April 1, 2022
Ever searched for kubectl update config from aws eks and needed a quick result?
Read More
[Solved] Unable to connect to the server: dial tcp: lookup with AWS EKS
March 28, 2022
If you have received the following error while trying to issue commands to kubectl:
Read More
How to Store Terraform State in AWS S3
March 27, 2022
Storing Terraform states files locally is not recommended. Instead you should use a backend such as as S3 from AWS.
Read More
How to Presign an S3 URL in AWS using AWS CLI
March 5, 2022
You can use the AWS CLI to presign URLs so that objects in S3 can be shared publicly even if they are set as private.
Read More
Common AWS CDK CLI Commands
February 26, 2022
The AWS Cloud Development Kit (CDK) comes with numerous CLI commands.
Read More
How to Create an S3 bucket with PublicRead in CloudFormation
February 25, 2022
AWSTemplateFormatVersion: 2010-09-09 Description: Basic S3 Bucket CloudFormation template Resources: S3BucketForWebsiteContent: Type: AWS::S3::Bucket Properties: AccessControl: PublicRead Outputs: BucketName: Value: !
Read More
How to Create a VPC in CloudFormation
February 24, 2022
It’s very easy to deploy a VPC using CloudFormation: AWSTemplateFormatVersion: 2010-09-09 Description: Deploy a VPC Resources: VPC: Type: AWS::EC2::VPC Properties: CidrBlock: 10.
Read More
How to Setup Git on EC2 for AWS CodeCommit
February 23, 2022
Connect to the instance: chmod 400 KEYPAIR.pem ssh -i KEYPAIR.pem ec2-user@EC2PublicIP Install Git:
Read More
How to Boot an EC2 with a WebServer Setup
February 13, 2022
Create a new AWS EC2 instance, and set the User Script to the following:
Read More
How to get Meta-Data information from an AWS EC2 Instance
February 4, 2022
If you need to query meta-data information from your running EC2 instance, you can curl the following location:
Read More
How to Install Cuda driver for Nvidia on Ubuntu
January 4, 2022
If you have just upgraded Ubuntu on your AWS g4dn instance and need to install/reinstall Cuda drivers for your Nvidia chipset, then you can run the following:
Read More
How to get the AWS AccountID in Terraform
December 20, 2021
If you are automating AWS resources in Terraform, then you will want to not hardcode things as much as possible.
Read More
Error creating AppStream Fleet – InvalidRoleException
December 19, 2021
If you get the following error when trying to run some Terraform:
Read More
How to Create AWS AppStream resources in Terraform
December 18, 2021
AWS AppStream has finally made its way into the Terraform AWS Provider.
Read More
How to Fix “is not authorized to create managed-rule” in AWS Step Functions
December 3, 2021
If you have ever received the following error is not authorized to create managed-rule when running a Step Function through Terraform’s AWS Provider, then you may have jumped through many different hoops trying to figure out what was wrong.
Read More
How to add Account Condition to AWS Lambda Permissions in Terraform
December 2, 2021
If you need to lock an AWS Lambda function down to a source account for security reasons (PCI.
Read More
How to AssumeRole in Terraform LocalExec Provisioner Block
December 1, 2021
I needed to execute a Terraform null_resource provisioner (local-exec) block to run an awscli command, but assume a role passed down to it.
Read More
How to Create an AWS Security Group in Terraform - Securing AWS Resources with Terraform Security Groups
November 23, 2021
Security groups are a critical component for securing resources in AWS.
Read More
How to Create an AWS Security Group in CloudFormation
November 22, 2021
Below is a simple CloudFormation script block to create a Security Group in AWS.
Read More
How to provide Default Values for AWS CloudFormation Parameters
November 21, 2021
AWS CloudFormation is very useful for creating template-able infrastructure definitions.
Read More
How to Validate an AWS CloudFormation Template
November 20, 2021
The AWS CLI comes with a useful subcommand to validate a CloudFormation template.
Read More
How to view the Encoded Authorization Failure Message in AWS
November 18, 2021
You may come across a message that reads similar to the following:
Read More
How to script AWS AppStream 2.0 ImageBuilder
November 16, 2021
AppStream (2.0) is a fully managed non-persistent desktop and application service for remotely accessing your work.
Read More
Blue/Green Deployment Techniques in AWS
August 9, 2021
What are Blue/Green Deployments? “Blue/Green Deployments” is a software deployment methodology.
Read More
How to Fix the ‘Bad Interpreter’ Error from AWS and Python 3.7
August 3, 2021
This error often looks something like: .zshrc: /usr/local/bin/aws: bad interpreter: /usr/local/opt/python/bin/python3.
Read More
How to Fix ‘no basic auth credentials’ with Docker and AWS ECR
July 25, 2021
If you are trying to push a Docker image to AWS ECR (Elastic Container Registry) and you get a no basic auth credentials error.
Read More
How to Push a Docker image to AWS ECR
July 22, 2021
By default, Docker pushes its images to Docker Hub. While Docker Hub is a great way to share both your public and private images, you may find the rest of your infrastructure on one of the prominent cloud providers.
Read More
Get Secret from AWS Secrets Manager in Python
July 8, 2021
You can store secrets in AWS Secret Manager and reference their ARN in AWS Systems Secret Manager.
Read More
How to retrieve a Secret from AWS Secrets Manager in the CLI
May 18, 2021
If you have stored a secret in AWS using the Secrets Manager, it is possible to use the AWS CLI to retrieve this value at a later date.
Read More
Unable to import module “lambda_function”: No module named “pymysql”
February 9, 2021
If you receive the following error message when trying to run pymysql on AWS Lambda:
Read More
How to delete an AWS WAF – Web ACL
August 21, 2020
Usually, it’s quite easy to delete an AWS WAF, or Web ACL.
Read More
How to Setup an SSH Server on AWS
August 1, 2020
Basic instructions on how to set up an SSH server on an Ubuntu 16.
Read More
How to setup the AWS CLI for multiple profiles
May 6, 2020
The AWS CLI provides the ability to use the wide range of Amazon Web Services tools and services straight from the command-line.
Read More
How to get the size of an AWS S3 bucket
May 5, 2020
If you need to get the size of an AWS S3 folder, or even an entire bucket, you can do so with the following command:
Read More
How to make an HTTP Request in AWS Lambda using Python
April 28, 2020
The requests module for Python is very useful in helping simplify HTTP/s requests from Python, but how would you use it in an AWS Lambda script?
Read More
Resolving InsufficientPrivilege Errors in Redshift
April 26, 2020
If you are getting the mysterious error: [ERROR] InsufficientPrivilege: permission denied for schema errors
Read More
How to increase column size in Redshift database tables
April 25, 2020
It is only possible to alter VARCHAR columns, and only under the following circumstances:
Read More
[Solved] The provided execution role does not have permissions to call CreateNetworkInterface on EC2
April 24, 2020
If you are trying to get an AWS Lambda added attached to a VPC, but get the error message:
Read More
How to Host an AngularJS site on AWS S3
March 18, 2020
AngularJS is a Javascript Framework that allows you to create dynamic front-end web applications easily.
Read More
How to send emails using Python and AWS SES SMTP
March 17, 2020
Sending emails using Python and AWS’ SES service is really easy.
Read More
[Solved] Unable to Detach AWS Network Interface
February 17, 2020
You do not have permission to access the specified resource.
Read More
How to Push Docker Images to AWS ECR
February 13, 2020
Docker images are usually stored on Docker Hub, but AWS’s Elastic Container Registry can also be used.
Read More
Squid Proxy behind a Load Balancer on AWS
October 4, 2018
Squid is a proxy software that allows a computer without internet access to proxy through another computer that does have internet access.
Read More
How big is Amazon S3 really?
September 1, 2015
Amazon’s Simple Storage Service, or simply S3 for short, is a product designed for storing objects (or files are most people know them) in their proprietary cloud hosting (AWS).
Read More