Skip to content

noenemy/aws-eduverse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

293 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-eduverse

aws-eduverse

Frontend resource provisioning

Backend resource provisioning

Install AWS Copilot

AWS Copilot is an open source command line interface that makes it easy for developers to build, release, and operate production ready containerized applications on AWS App Runner, Amazon ECS, and AWS Fargate.

Initialize Eduverse API backend

Run the AWS Copilot command like below.

Initialize app and service

copilot init --app eduverse-api --dockerfile backend/Dockerfile --name eduverse-api-svc --port 5000 --type "Load Balanced Web Service"

Setup dev environemnt for the Eduverse API

copilot env init --app eduverse-api --name dev  

Setup environment variables for the Eduverse API

copilot secret init --name APP_SETTINGS

Type config.DevelopmentConfig for the following question. This is the default value for APP_SETTINGS.

copilot secret init --name AWS_REGION

Type ap-northeast-2 for the following question. This is the default value for AWS_REGION.

Resource provisioning for Eduverse backend

copilot deploy --app eduverse-api --env dev --name eduverse-api-svc

You can check the logs for Eduverse API service using below command.

copilot svc logs --follow

copilot svc status is also useful to check the status.

CI/CD pipeline provisioning

You can run below command to initialize CD/CD pipeline.

copilot pipeline init --environments dev

After initialize you can run below command for provisioning

copilot pipeline update

You can also use following command to confirm status of pipeline.

copilot pipeline status
copilot pipeline show

Clean up backend resource

For the pipeline

copilot pipeline delete

For the app

copilot app delete

References and more for AWS Copilot

Explore advanced features – addons, storage, sidecars, etc

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors