Tag Archives: AWS

Deploy FastAPI App onto AWS

Here’s a comprehensive guide for deploying a FastAPI application with Docker on AWS:This comprehensive guide covers multiple deployment strategies for FastAPI applications on AWS. Here are the key approaches:

For “production” applications:

  • ECS with Fargate for scalable, managed container orchestration
  • Application Load Balancer for high availability and SSL termination
  • ECR for private container registry
  • CloudWatch for monitoring and logging

For simple/low-traffic applications:

  • Lambda with Mangum for serverless deployment (cost-effective for sporadic traffic)
  • EC2 with Docker Compose for full control

Key considerations:

  • Use multi-stage builds to minimize image size
  • Implement proper health checks
  • Set up auto-scaling policies
  • Use infrastructure as code (Terraform/CloudFormation)
  • Implement CI/CD pipelines for automated deployments

– manzoor

Computing Power YT

Cloud Storage – Amazon S3 vs Google Cloud Storage

I find myself at an interesting crossroad – for the first time I am considering Web Services from someone other than Amazon AWS. To be fair, I do find myself at this position because for the first time I am the one making these technological choices as opposed to being handed choices that were already made.

I have always wanted to try other services and this is the perfect situation.

I am choosing to deploy my react app on GCP with Firebase and will try to use both S3 and Google Cloud Storage to be able to compare.

– manzoor

  • Four critical differences between Google Cloud Storage AND Amazon S3 APIS
  • Google Cloud Storage vs. Amazon S3
  • Deploy React – on AWS

    Deploy on to AWS EC2 running nginx

    1. ssh into the EC2 instance
    2. if npm is NOT installed, execute sudo apt install npm -y
    3. cd into <dev> dir
    4. git clone the repo
    5. cd into the repo
    6. execute npm install
    7. execute npm run build
    8. cp -R dist/* /var/www/<host>/html
    9. might have to re-launch nginx

    – manzoor