Amazon Elastic Container Registry

amazon docker registry (ECR)

Amazon Elastic Container Registry is used to store docker images in Amazon AWS cloud. To create a repository using awscli command line tool, run

In Amazon AWS console, you can see the newly created repository by going to “Elastic Container Registry” page in the region where you created the repository. To see the […]

Read More…

Amazon EC2 disk resize No space left on device

On an Amazon EC2 instamce disk usage was full.

I increased disk size on Amazone AWS console. But disk did not get changed in EC2 instance.

The partition still shows 10 GB. When i try growpart, i get error

This is because disk is full. I try delete some unwanted files. But […]

Read More…

Ubuntu pure-ftpd reply with unroutable address

On AWS Ubuntu server running pure-ftpd, when i try connecting, i get error

To fix this, run

YOUR_PUBLIC_IP_HERE = Replace with your Elastic IP or Public IP (if you don’t have an Elastic IP). Restart pure-ftpd

On AWS security groups, you need to open following ports


Read More…

AWS Elastic Beanstalk

Here are some useful command working with AWS Elastic Beanstalk

Application get stored in folder


Read More…

Amazon S3 CORS

To enable CORS for Amazon S3 bucket, add


Read More…

Deploy Docker Image using Elastic Beanstalk

First create a file docker-eb-run.json with following content

here i used docker container bitnami/tomcat, you can use any container. Login to AWS Console, go to AWS Elastic Beanstalk page. Click Get Started. On next page, it ask for

For Application code, select Upload your code, click upload button and select “docker-eb-run.json” file you […]

Read More…

Getting Started with Amazon Elastic Beanstalk

AWS Elastic Beanstalk is a PaaS (Platform As Service) allow you to quickly deploy applications. To install AWS Elastic Beanstalk command line tool, run

Starting your first Project Create a folder with a php file.

Add our project to git.

Initialise Elastic Beanstalk project run

It will ask you to select […]

Read More…