Lambda With Django Zappa

Today we’re going to learn how to deploy AWS lambda with Django. Lambda is a event driven, serverless computing platform provided by AWS. Serverless architecture allows us to deploy apps without having to manage the servers. We’re going to use zappa to deploy a Django app to AWS lambda. AWS uses S3 for storing the build and deployment artifacts. zappa will also create an API gateway to provide HTTP endpoints through which the lambda function can be called....

September 4, 2022 · 4 min · Ashish Gaur

Deploy ALB with ECS using Django

In this blog we’re going to deploy an ALB(Application Load Balancer) with ECS. Before creating an ALB follow this blog to create an ECS cluster with a sample Django app deployed to it. To use an ALB over our ECS cluster we’ll follow these steps: Create a Target Group. Create an ALB. Use the target group in the ALB. Create a service in our ECS cluster. Then attach the ALB in our ECS service....

August 26, 2022 · 3 min · Ashish Gaur

Using SQS With Rails

In this post we’re going to learn how to use SQS with Rails. What’s SQS ? SQS is a message queueing service provided by AWS. It can be used by two microservices to communicate using messages one acting as producer and the other as consumer. Using SQS, you can send, store, and receive messages between microservices while allowing them to scale horizontally. SQS stores the messages send to it thus making sure messages are not lost....

August 21, 2022 · 5 min · Ashish Gaur

Deploying Django on ECS and ECR

Today we’re going to see how to deploy a Django app on ECS using ECR. What’s ECR and ECS ? ECR or Elastic Container Register is place to store and manage Docker images. If you’re familiar with Docker you must have heard of Dockerhub, ECR is same as that just for AWS. The Docker images in ECR are used by ECS. ECS or Elastic Container Service is a container management service for AWS....

August 18, 2022 · 6 min · Ashish Gaur