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…

Mount Amazon s3 on Linux

To mount Amazon S3 bucket as a filesystem on linux, you can use s3fs. https://github.com/s3fs-fuse/s3fs-fuse To install s3fs on Ubuntu/Debian, run

To mount an s3 buclet, create a password file with your AWS secret key and

Then run

In above command replace sokmount = bucket name /home/boby/ = your mount point ap-southeast-1 […]

Read More…

Amazon ECS

Amazon ECS is a container service from Amazon AWS Cloud. This allow you to run Docker containers in AWS cloud. It is like Kubernetes. Here are some good resources to get started with Amazon ECS https://github.com/nathanpeck/awesome-ecs https://ecsworkshop.com See AWS […]

Read More…

AlibabaCloud DirectMail

Alibaba Cloud DirectMail

AlibabaCloud DirectMail is transactional email service from AlibabaCloud. It is like Amazon SES, MailGun, SendGrid etc… They have 3 differnt mail server hostname depending on region. Unlike other SMTP providers, they allow email using port 80.

Note: Port 25 is currently disabled to maintain ECS security. If your sending application is deployed on Alibaba […]

Read More…

Whitelist an IP in Amazon AWS security group from command line

To white list an IP in Amazon AWS security group using aws command line tool, run

Example

[…]

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…