/fem-eci-presentation

Presentation from Enterprise Cloud Infrastructure on Frontend Masters.

Frontend Masters

This is a companion repo for the Enterprise DevOps course on Frontend Masters.

Course Instructions and Resources

A markdown file with the slide content can be found in this repo. Use the instructions below to setup the accounts required for this course.

Doppler

Doppler helps sync, manage, and rotate secrets across applications and environments.

  1. Create a Doppler Account.
  2. Install the Doppler CLI.

GitHub

GitHub will be used as the source of truth for the infrastructure created in the course. You will need a GitHub account with an SSH key and a fine-grained personal access token. The process of creating and adding an SSH key and fine-grained personal access token are covered in the GitHub Configuration lesson.

Terraform Cloud

Terraform creates the automation for provisioning and managing cloud resources. You will need a Terraform account and the Terraform CLI

  1. Create a Terraform Cloud account
  2. Create an Organization using your name. You DO NOT need to create a workspace yet
  3. Install the Terraform CLI

Amazon Web Services (AWS)

Network resources will be hosted on AWS. You will need an AWS account and the AWS CLI

  1. Create an AWS Account
  2. Install the AWS CLI

Other Instructions

Add VCS Provider to Terraform

If you see GitHub App (Installed) when adding a VCS Provider in the Configuring a Version Control Provider lesson but you DO NOT see Terraform listed in your GitHub account under Settings > Applications > Installed GitHub Apps, follow the steps below:

  1. In Terraform, go to Projects & Workspaces
  2. In your fem-eci-project, select the fem-eci-tfe workspace
  3. In this workspace, go to Settings > Version Control and click on Connect to version control
  4. Choose Version Control Workflow
  5. Under GitHub, choose GitHub App (make sure allow popups)

You can stop at this step (you don't need to select any repositories). Once the VCS Provider is added, you can view it in your GitHub account under Settings > Application > Installed GitHub Apps. Later in the lesson you'll need the installation ID which can be found in the URL when you click on the configure button.

Deleting Workspaces

Once you have completed the course, you may want to delete your workspaces to avoid going beyond the free tier. You can use the Destroy Infrastructure option in Terraform Cloud. Delete your workspaces in reverse order

  1. fem-eci-product-service-prod
  2. fem-eci-aws-cluster-prod
  3. fem-eci-aws-network
  4. fem-eci-github
  5. fem-eci-tfe

For each workspace:

  1. Click on the workspace you want to delete
  2. Go to > Settings > Destruction and Deletion
  3. Make sure Allow destroy plans is enabled
  4. Click Queue destroy plan