π₯ backlog
Module-Cloud π
[TECH ED] Write a run book π Clone
Link to the coursework
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 name | Application X Deployment to Production |
---|---|
Runbook description | This runbook provides instructions for deploying Application X to the production environment. |
Owner | @DevOpsEngineer |
Version | 2.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 level | Team | Team lead | Contact 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
Name | State | Start time | Completed time | Duration |
---|---|---|---|---|
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
- Ensure all prerequisites are met (e.g., successful testing in lower environments, approvals obtained)
- Take a backup of the current production environment
- [Detailed deployment steps]
- [Validation and testing steps]
- [Monitoring and alerting setup]
- [Communication to stakeholders]
Enabled | Execution location | Run environments | Run conditions | Documentation |
---|---|---|---|---|
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
Link to the coursework
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
Link to the coursework
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
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.
- Create a new directory named
Implement Remote State in S3
- In your main Terraform configuration (
main.tf
), configure the backend for remote state using S3.
- In your main Terraform configuration (
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
Link to the coursework
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
Link to the coursework
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
Link to the coursework
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:
- Write a Terraform configuration file
main.tf
to define the S3 bucket. - Include the necessary configurations like ACL, policy, and versioning.
- 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