One of the best advice on AWS that I got was to deploy my app behind a Load Balancer (LB)and an API Gateway (APIG). Even if you are starting out with a single EC2, it will help in the long run if it is behind an APIG and an LB. The LB ensures that you can scale as and when you want, and the APIG gives you logging, throttling, and other goodies that you will need.
From my previous article on the subject,
A very typical deployment architecture for smaller startups is to have an API Gateway at the front…
One of the biggest advantages that React Native provides over pure iOS or Android implementations is the ability to push an update over-the-air (OTA) without having to go through the onerous and time-consuming process of publishing in the respective app stores.
Let us learn how to connect an API Gateway to a VPC without exposing your VPC resources (e.g. Load Balancers, EC2) to the internet.
Update (24 Jun 2020)
AWS has introduced a new HTTP API Service as part of API Gateway. It is much easier to configure, and the VPC Link setup is also simpler. Please see the new article for more details
A very typical deployment architecture for smaller startups is to have an API Gateway at the front, which passes on requests to an ELB, which in turn distributes them to a bunch of EC2 instances. ELBs and…