CodeYourFuture / CodeYourFuture/Module-Cloud

[TECH ED] GitHub Actions for Backend

Aberta
#5 0 comentários 0 reações 0 responsáveis Ver no GitHub
🎯 Topic Delivery 🎯 Topic Requirements 🎯 Topic Structuring Data 🏕 Priority Mandatory 🐂 Size Medium 📅 Sprint 2 Cloud
Linguagem predominante
Sem dados de linguagem
Estrelas
0
Forks
6
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

### 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.

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Leia o material do curso sobre GitHub Actions em https://docs.github.com/en/actions e inspecione o workflow de frontend comparável. Crie .github/workflows/backend-ec2-deploy.yml, configure os GitHub Secrets necessários de AWS e SSH e defina as etapas para fazer SSH para o EC2, obter o código mais recente e reiniciar o serviço de backend. A tarefa estará concluída quando um push ou um trigger manual fizer o deploy do backend com sucesso.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
aws, github-actions, yaml
Domínio
backend, cloud, devops, infrastructure
Tipo de issue
Funcionalidade
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
30/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.