I required a few files and folders on an Amazon EC2 instance as part of the provisioning process. So, the objective was to upload these files and folders into an Amazon S3 bucket and download them from the Amazon EC2 instance with the assistance of the user data script and Terraform. Note: As a reader … Continue reading Download Amazon S3 bucket into an Amazon EC2 instance in 5 steps using user data and Terraform
Tag: AWS S3
Create Terraform pre-requisites for AWS using AWS CLI in 3 easy steps
Generally speaking, when we work with Terraform to provision resources in AWS Cloud, we have a few pre-requisites. These areĀ -a remote backend to store the Terraform state file, a lock table, and IAM user credentials that Terraform will require to provision the resources. I say "generally speaking" because you can get away with the … Continue reading Create Terraform pre-requisites for AWS using AWS CLI in 3 easy steps
Terraform Remote State -Part 1: Using AWS
When I started learning Terraform, I installed the tool, wrote Terraform configuration files, and ran the commands from my local (laptop). I did not put a lot of thought into understanding a remote state and how it is useful. As I continued learning, and as I started using Azure DevOps to automate infrastructure provisioning using … Continue reading Terraform Remote State -Part 1: Using AWS
Azure Pipelines (YAML) and Terraform to provision Amazon S3
In my previous note, [Azure DevOps and Terraform to provision Amazon S3], I listed in detail the steps to be followed to provision an Amazon S3 bucket using Azure DevOps and Terraform. I referred to the classic editor in the build definition/azure pipelines. Build and release definitions declared via a classic editor in Azure DevOps, … Continue reading Azure Pipelines (YAML) and Terraform to provision Amazon S3
Azure DevOps and Terraform to provision Amazon S3
Here's an interesting use case I came across -that I thought could also be a valuable resource to share- and hence this post. I've worked on Terraform and am aware of the solution that it provides to IaC principles. I've worked extensively on Azure DevOps and know Azure Pipelines can also be good at orchestration. … Continue reading Azure DevOps and Terraform to provision Amazon S3
Deploy from Azure DevOps to Amazon S3 in 3 steps
How to deploy an artifact from Azure DevOps to AWS S3 in 3 easy steps