Photo by Nathan Fertig on Unsplash

COVID-19 has been with us for almost a year now. It becomes a new normal to live a life with this deadly virus. Although we have recently got a great news about the vaccine, the virus is still expected to be around for much longer time.

If you have read the news related to COVID-19, you will see that the cases are still increasing everywhere especially in Europe and North America. What surprises me the most is that we hardly see any news about China anymore although the virus was first started there. China has done an amazing in stopping…

Before diving into the automating of Lambda deployment with Bitbucket pipeline, let’s take a brief introduction of what is Lambda and Bitbucket pipeline.

Bitbucket pipelines logo

What is AWS Lambda ?

AWS Lambda is the AWS-managed service running Functions-as-a-Service. AWS Lambda lets you run code without provisioning or managing servers and pay only for the compute time you consume. You can run code for virtually any type of application or backend service with zero administration.

What is Bitbucket Pipeline ?

Bitbucket Pipelines is the Continuous Integration/Continuous Delivery (CI/CD) pipeline integrated into Bitbucket. …

A VPC (Virtual Private Cloud) peering connection is a networking connection between two VPCs that allows traffic between them using private IPv4 addresses or IPv6 addresses. VPC peering connection can be created between own VPCs, or with a VPC in another AWS account.

A VPC peering connection helps to facilitate the transfer of data. Instances in either VPC can communicate with each other as if they are within the same network. For example, if you have more than one AWS account, you can peer the VPCs across those accounts to create a file sharing network. …

In this article, I’m going to talk about Terraform Best Practice that has been shared by Terraform community as well as from my own experience. Either you just start using terraform or have been using it for awhile, I hope you can find it useful. I am going to assume that you have already known what is Infrastructure as Code (IaC) and Terraform about, but if not, you can get started with HashiCorp’s Terraform website.

Use Variable File

With variable file you can easily manage environment variables whether it’s dev, test, stage, or prod. Terraform automatically load the variables from the file with…

Chandara Chea

Software Engineer | AWS | Serverless | Finland

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store