Hello All:
Hosting a web application on a cloud platform (like AWS, Azure etc) requires lots of housekeeping task involving server provisioning, installing software etc.
Infrastructure as a code is a paradigm in which the necessary infrastructure is brought up with the help of code.
In this post, I will introduce Terraform, a toolkit to write code infrastructure.
In short, Terraform helps in:
Terraform scripts are written in .tf files.
I have created Terraform scripts to bring up Ubuntu server with following software installed on AWS
In order to change the instance type, update this file.
Complete instructions and code is available here.
Hosting a web application on a cloud platform (like AWS, Azure etc) requires lots of housekeeping task involving server provisioning, installing software etc.
Infrastructure as a code is a paradigm in which the necessary infrastructure is brought up with the help of code.
In this post, I will introduce Terraform, a toolkit to write code infrastructure.
In short, Terraform helps in:
- Bringing up infrastructure using code
- Maintaining changes to the infrastructure
- Maintaining dependency graphs of resources
Terraform scripts are written in .tf files.
I have created Terraform scripts to bring up Ubuntu server with following software installed on AWS
- Nginx
- Nodejs
- PM2
In order to change the instance type, update this file.
Complete instructions and code is available here.
Thanks for printing this post. Hope you liked it.
Keep visiting and sharing.
Thanks,
Ashwani.
Keep visiting and sharing.
Thanks,
Ashwani.
0 comments :
Post a Comment