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

[POC-5] Create and Deploy Containerized Node.js Application on AWS Cloud9 #5

Open
brunosantoslab opened this issue Jul 30, 2024 · 0 comments
Assignees

Comments

@brunosantoslab
Copy link
Owner

Task Description:

Objective:
Create and deploy a containerized Node.js application using Docker on an AWS Cloud9 environment. This task serves as a proof of concept for containerizing applications and deploying them on AWS infrastructure.

Key Tasks:

  1. Setup Environment:

    • Create and configure a new AWS Cloud9 environment.
      • Name: containers-cloud9
      • Instance type: t3.small
      • Network settings: Containers VPC
      • Update AWS CLI
      • Replace IAM instance profile
      • Disable managed credentials for Cloud9 environment
      • Expand Cloud9 Disk Space (size 40)
  2. Build and Run Docker Container:

  3. Test and Verify Deployment:

    • At the top of the AWS Cloud9 instance, choose Preview > Preview Running Application.
    • docker ps
    • docker logs webapp
  4. Document the Process:

    • Update the README.md file with detailed instructions on how to set up, deploy, and test the Containerized Node.js Application.

Deliverables:

  • Dockerfile for the Node.js application.
  • Node.js application source code (server.js, package.json, input.txt, etc.).
  • Instructions in README.md for setting up, deploying, and testing the containerized application.
  • Verification of the running application in the Cloud9 preview.

Additional Notes:

  • Ensure IAM Role Configuration: The IAM role used must have the appropriate permissions for deploying and managing resources.
  • Documentation: The README.md should include detailed steps and observations on configuring IAM roles, expanding disk space, and deploying Docker containers.
@brunosantoslab brunosantoslab self-assigned this Jul 30, 2024
@brunosantoslab brunosantoslab changed the title [POC-3] Create and Deploy Containerized Node.js Application on AWS Cloud9 [POC-5] Create and Deploy Containerized Node.js Application on AWS Cloud9 Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In progress
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant