πŸ₯ž backlog

Module-Cloud πŸ”—

[TECH ED] Write a run book πŸ”— Clone

https://www.transposit.com/devops-blog/sre/2020.01.30-writing-runbook-documentation-when-youre-an-sre/

Why are we doing this?

Write a runbook for a project you have deployed using the Cloud technologies in this module.

Publish this runbook on your portfolio, along with the project.

Runbook nameApplication X Deployment to Production
Runbook descriptionThis runbook provides instructions for deploying Application X to the production environment.
Owner@DevOpsEngineer
Version2.3
Version date//2024-03-21

On this page

πŸ› Architecture

[Include a high-level architectural diagram of the relevant hosts and services]

πŸ’¬ Support contacts

Expertise levelTeamTeam leadContact info
Level 1@ops-team-members@ops-team-lead[Include contact information for Level 1 support]
Level 2[Include details for Level 2 support, if applicable]
Level 3[Include details for Level 3 support, if applicable]

🎽 Runs

NameStateStart timeCompleted timeDuration
Application X Deployment[To be updated during deployment][To be updated during deployment][To be updated after deployment][To be calculated after deployment]

🎒 Process

Step instructions

  1. Ensure all prerequisites are met (e.g., successful testing in lower environments, approvals obtained)
  2. Take a backup of the current production environment
  3. [Detailed deployment steps]
  4. [Validation and testing steps]
  5. [Monitoring and alerting setup]
  6. [Communication to stakeholders]
EnabledExecution locationRun environmentsRun conditionsDocumentation
Yes[Specify the location or environment where the deployment will be executed]Production[Specify any conditions or prerequisites required for the deployment][Include links to relevant documentation, such as application guides, deployment scripts, or configuration files]

Maximum time in hours

8

How to get help

Share your blockers in Slack.

How to submit

Publish your runbook on your portfolio and as a document in your project repo. Link to your runbook on your project readme. Link your portfolio runbook in Slack. The best runbook, voted by the group, wins the coveted 🎽 πŸ“˜ Best Runbook Award

  • 🎯 Topic Communication
  • 🎯 Topic Requirements
  • πŸ• Priority Mandatory
  • πŸ¦‘ Size Large
  • πŸ“… Sprint 4
  • 🎁 Module Product
  • Cloud
[TECH ED] Prepare for live session πŸ”— Clone

https://curriculum.codeyourfuture.io/cloud/sprints/4/prep/

Why are we doing this?

It is essential to start learning new concepts and ideas before Saturday’s session. During the week, we expect you to get stuck and form questions about the new content so you can address misconceptions during Saturday’s session. The prep work here will introduce you to the new concepts for the week.

You will need to do this prep work before tackling the coursework.

Maximum time in hours (Tech has max 16 per week total)

3

How to get help

Share your blockers in your track channel

https://curriculum.codeyourfuture.io/guides/asking-questions

How to submit

It will be clearly evident if you don’t do the prep. At CYF we come to class prepared.

  • :brain: Prep work
  • πŸ• Priority Mandatory
  • πŸ‚ Size Medium
  • πŸ”‘ Priority Key
  • πŸ“… Sprint 4
  • Cloud
[TECH ED] Using Terraform Modules and Remote State πŸ”— Clone

https://developer.hashicorp.com/terraform/docs

Why are we doing this?

Objective

In this exercise, you will utilize a Terraform module to create a reusable configuration for S3 buckets. Additionally, you’ll implement remote state management using an S3 bucket.

Steps

  1. Create a Terraform Module for S3 Buckets

    • Create a new directory named s3_module and place a new Terraform file inside it, e.g., main.tf.
    • Define the Terraform code for an S3 bucket inside this file.
  2. Implement Remote State in S3

    • In your main Terraform configuration (main.tf), configure the backend for remote state using S3.
  3. Initialize and Apply

    • Initialize your Terraform project.
    • Apply the configuration to create the S3 bucket using the module and configure remote state.

Validation

  • Confirm that the S3 bucket was created as expected.
  • Check the S3 bucket where you store the remote state to ensure that the terraform.tfstate file is present.

References

Maximum time in hours

n/a stretch

How to get help

Ask calm, curious questions with links, code samples, and no screenshots.

https://curriculum.codeyourfuture.io/guides/asking-questions/

How to submit

Demo your progress in class.

  • 🎯 Topic Delivery
  • 🎯 Topic Requirements
  • 🎯 Topic Testing
  • 🏝️ Priority Stretch
  • πŸ¦‘ Size Large
  • πŸ“… Sprint 4
  • Cloud
[TECH ED] Infrastructure as Code for CYF Hotel Database in RDS πŸ”— Clone

https://developer.hashicorp.com/terraform/docs

Why are we doing this?

Objective:

Use Terraform to deploy your CYF Hotel backend to an RDS instance.

Steps:

Write a Terraform configuration file main.tf for the RDS database. Include necessary configurations like database engine, version, and credentials. Deploy the code to AWS.

Outcome:

After running terraform apply, the database should be live and reachable on the RDS instance.

Maximum time in hours

2

How to get help

Ask calm, curious questions with links, code samples, and no screenshots.

https://curriculum.codeyourfuture.io/guides/asking-questions/

How to submit

Demo your progress in class.

  • 🎯 Topic Delivery
  • 🎯 Topic Requirements
  • 🎯 Topic Testing
  • πŸ• Priority Mandatory
  • πŸ‚ Size Medium
  • πŸ“… Sprint 4
  • Cloud
[TECH ED] Infrastructure as Code for CYF Hotel Backend in EC2 πŸ”— Clone

https://developer.hashicorp.com/terraform/docs

Why are we doing this?

Objective:

Use Terraform to deploy your CYF Hotel backend to an EC2 instance.

Steps:

Write a Terraform configuration file (main.tf) to define the EC2 instance. Include configurations for security groups, key pairs, and IAM roles if necessary. Deploy the code to AWS.

Outcome:

After running terraform apply, the backend should be running on an AWS EC2 instance accessible via its IP address.

Maximum time in hours

1.5

How to get help

Ask calm, curious questions with links, code samples, and no screenshots.

https://curriculum.codeyourfuture.io/guides/asking-questions/

How to submit

Demo your progress in class.

  • 🎯 Topic Delivery
  • 🎯 Topic Requirements
  • 🎯 Topic Testing
  • πŸ• Priority Mandatory
  • πŸ‚ Size Medium
  • πŸ“… Sprint 4
  • Cloud
[TECH ED] Infrastructure as Code for CYF Hotel Frontend in S3 πŸ”— Clone

https://developer.hashicorp.com/terraform/docs

Why are we doing this?

Objective:

Use Terraform to deploy your CYF Hotel frontend to an S3 bucket.

Steps:

  1. Write a Terraform configuration file main.tf to define the S3 bucket.
  2. Include the necessary configurations like ACL, policy, and versioning.
  3. Deploy the code to AWS.

Outcome:

After running terraform apply, you should see the CYF Hotel frontend live on the S3 bucket URL.

Maximum time in hours

2

How to get help

Ask calm, curious questions with links, code samples, and no screenshots.

https://curriculum.codeyourfuture.io/guides/asking-questions/

How to submit

Demo your progress in class.

  • 🎯 Topic Delivery
  • 🎯 Topic Requirements
  • 🎯 Topic Testing
  • πŸ• Priority Mandatory
  • πŸ‚ Size Medium
  • πŸ“… Sprint 4
  • Cloud