Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TECH ED] GitHub Actions for Backend #308

Open
RbAvci opened this issue Jun 15, 2024 · 1 comment
Open

[TECH ED] GitHub Actions for Backend #308

RbAvci opened this issue Jun 15, 2024 · 1 comment
Labels
Cloud 🏕 Priority Mandatory This work is expected 🐂 Size Medium 1-4 hours 📅 Sprint 2 🎯 Topic Delivery Shipping our work, deploying our code, delivering our product 🎯 Topic Requirements Interpreting requirements with precision and accuracy 🎯 Topic Structuring Data Describing, organising, and systematising data

Comments

@RbAvci
Copy link
Owner

RbAvci commented Jun 15, 2024

From Module-Cloud created by SallyMcGrath: CodeYourFuture/Module-Cloud#5

Link to the coursework

https://docs.github.com/en/actions

Why are we doing this?

Setup Github Actions for CYF Hotel Backend deployments to EC2

Create GitHub Actions Workflow File: Similar to the frontend, create a new YAML file in your CYF Hotel repository under .github/workflows, and name it appropriately, like backend-ec2-deploy.yml.

Configure AWS and SSH Credentials: Store your AWS and SSH credentials securely using GitHub Secrets. These will be used to authenticate and connect to your EC2 instance.

Write EC2 Deployment Steps: Outline the steps in the YAML file for SSHing into your EC2 instance, pulling the latest code, and restarting your backend service.

Test the Workflow: Like with the frontend, push a change to your repository or manually trigger the workflow from GitHub Actions to ensure that your backend is successfully deployed to the EC2 instance.

Maximum time in hours

4

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

In this advanced module you will demo your work. You may wish to make notes for case studies to add to your portfolio.

@RbAvci RbAvci added Cloud 🎯 Topic Delivery Shipping our work, deploying our code, delivering our product 🎯 Topic Requirements Interpreting requirements with precision and accuracy 🎯 Topic Structuring Data Describing, organising, and systematising data 🏕 Priority Mandatory This work is expected 🐂 Size Medium 1-4 hours 📅 Sprint 2 labels Jun 15, 2024
@RbAvci RbAvci moved this from CLOUD to 🔖 Ready in Rabia Avci Coursework Planner Board Jun 20, 2024
@RbAvci RbAvci moved this from 🔖 Ready to 👀 In review in Rabia Avci Coursework Planner Board Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cloud 🏕 Priority Mandatory This work is expected 🐂 Size Medium 1-4 hours 📅 Sprint 2 🎯 Topic Delivery Shipping our work, deploying our code, delivering our product 🎯 Topic Requirements Interpreting requirements with precision and accuracy 🎯 Topic Structuring Data Describing, organising, and systematising data
Projects
Status: 👀 In review
Development

No branches or pull requests

1 participant