Install LetsEncrypt SSL on Bitnami

To install LetsEncrypt SSL on bitnami wordpress server, install letsencrypt with

Stop apache web server with

Now get SSL certificate using certbot

Now you have SSL certficate, lets copy it to bitnami folder

Start the web server with

Auto Renew LetsEncrypt Create file

Add following to the file. Replace […]

Read More…

How to add ISO to VMware ESXi

vmware esxi datastore

To add ISO to VMware ESXi, enable SSH access VMware > Actions > Services > Enable Secure Shell (SSH) Once enabled, you will be able to login to server using SSH. Once logged in, go to folder

Create a folder ISO and change directory to ISO folder.

Now you can download whatever ISO […]

Read More…

Google Cloud apt signatures couldn’t be verified

When i run apt update, i get error W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://packages.cloud.google.com cloud-sdk-jessie InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 6A030B21BA07F4FB W: An error occurred during the […]

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…

Configure Postfix to use Amazon SES

Install postfix with

Update postfix config with

Edit

Add to end of the file

In the above, replace SMTP_SERVER_NAME with your Amazon SES mail server, for example “email-smtp.us-east-1.amazonaws.com”, you can see it in your Amazon SES console. Run

Replace SMTP_SERVER_NAME, SMTP_USERNAME and SMTP_PASSWORD with your actual credentials. Now run

[…]

Read More…

AWS Cloud​Formation

AWS Cloud​Formation allow you to quickly build infrastructure required for your applications. https://aws.amazon.com/cloudformation/ CloudFormation templates are stored as yaml or json file, this allow version control of your infrastructure, sharing the infrastructure with other developers. To list all available stacks, run

To create a stack, run

To delete a stack, run

aws […]

Read More…