Code at your own pace with the help of this written-form tutorial with code snippets and the complete source code: https://toastybits.dev/deploying-a-no...
Become a Patreon: / toastybits
Fargate is a great product AWS offers to deploy your backend applications onto. It combines the flexibility and scalability of containers, together with the ease of use of a hosted solution so you don’t have such a steep learning curve to host your own application with a tried and proven architecture.
Fargate is essentially a hosted solution for running docker containers inside a cluster. You only need to define the basic characteristics of your cluster, i.e. how bid you want it to be, and the auto-scaling rules if you want them. Afterwards, Fargate takes care of the rest. As soon as you upload a new Docker image to your repository, Fargate will start a new deploy process. It spins up new instances with the new image, checks they are working well, and then spins down the instances with the old version of your app. Pretty neat!
By the end of this project you will have learned:
1) How to Dockerize an application
2) How to set up AWS Fargate
3) How to deploy your app onto AWS Fargate with a load balancer
Chapters:
00:00 Intro
00:37 Fill in production credentials in our app
03:07 Creating the Dockerfile
07:51 Creating a container repository on AWS
08:41 Pushing the docker image to AWS Container Registry
10:22 Creating a Cluster for our app to run in
11:13 Creating a Task Definition
13:22 Creating a Service
15:11 Creating an Application Load Balancer
21:21 Your application is starting!
22:36 Assigning a custom domain name to your load balancer and app
All music provided royalty free by Epidemic Music
Watch video Tutorial: Learn how to dockerize and deploy an API onto AWS Fargate online without registration, duration hours minute second in high quality. This video was added by user ToastyBits 14 November 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 8,96 once and liked it 19 people.