Infrastructure As Code + Pipeline: Deployment of Network Resources and Compute in the OCI in a 100% automated way using GitHub, Terraform Cloud and Terraform IaC
<p>A company specializing in luxury furniture sales, needed to provision an infrastructure (Networking + Compute) in the OCI, to host its website called <strong><em>Niture</em></strong>. As a prerequisite for this project, I had to use Infrastructure as Code (IaC).</p>
<p>The main IaC tools I used for this project were GitHub, Terraform Cloud and Terraform IaC.</p>
<p>The main steps are:</p>
<ol>
<li>Create a new IAM administrator user for Terraform.</li>
<li>Create a new repository in GitHub.</li>
<li>Create terraform main.tf file to create the different resources needed for this project.</li>
<li>Commit the terraform changes into GitHub.</li>
<li>Create a new organization and workspace in Terraform Cloud</li>
<li>Configure the terraform variables and plan and validate a run.</li>
<li>Once all resources were created, test the application.</li>
<li>Update the main.tf file — add a second webserver, commit the changes and validate that the new server was created.</li>
<li>Update again the main.tf file — remove the second server and validate that it was deleted.</li>
<li>Remove all the resources from the main.tf file and validate that all the resources were deleted.</li>
</ol>
<p><a href="https://medium.com/@ramahammer/infrastructure-as-code-pipeline-deployment-of-network-resources-and-compute-in-the-oci-in-a-100-fd9ad21cd936"><strong>Read More</strong></a></p>