This tutorial demonstrates how to secure an AWS Elastic Beanstalk application with HTTPS using a custom domain. The process includes registering a domain in Route 53, creating DNS records, requesting SSL certificates in AWS Certificate Manager, configuring load balancers, and updating environment variables in a Vercel deployment.
Length 14:03
Captions English (Generated), Spanish (Auto-translated), French (Auto-translated), Korean (Auto-translated), Portuguese (Auto-translated), Vietnamese (Auto-translated) #aws #elastic beanstalk #route 53 #https #ssl #domain #vercel #web development #dns #deployment
0:00 All right, so we're ready to go ahead and set up HTTPS for Elastic 0:04 Beanstalk so we can 0:07 send encrypted traffic to our back end. 0:10 Let's go ahead and start off by purchasing a custom domain, which is gonna be 0:14 required for HTTPS and Elastic Beanstalk. 0:18 So to do this, I'm gonna go into Route 53, which is a domain 0:22 registrar built into AWS. 0:25 I'm gonna go ahead and register a new domain. 0:28 So I'm gonna go ahead and call my domain shoppyapps.com. 0:32 You can go ahead and choose whatever domain you'd like to use and select it 0:36 here. So I'm gonna go ahead and purchase this domain, 0:40 turn off auto-renew, and go ahead and check out this domain. 0:44 All right, so after a bit of time, I should be able to click on Hosted Zones 0:47 and 0:47 see our new domain populated here. 0:50 I'm gonna go ahead and click inside of it to be able to 0:53 actually view and 0:54 edit our DNS records for this domain. 0:57 So let's go ahead and click Create New Record, 1:00 and we want to go ahead and switch to Wizard here, Simple 1:04 Routing. Next, define Simple 1:08 Record. And now we wanna go ahead and create 1:12 a root domain A record to set up traffic to go 1:16 to Elastic Beanstalk. So let's keep this blank here to create a 1:20 record for the root domain, meaning any traffic 1:22 that goes to just the domain 1:24 here. 1:25 And then we'll go ahead and select A routes traffic to an 1:28 IPv address and some AWS resources. 1:32 Then we can go ahead and choose endpoint alias to 1:37 Elastic Beanstalk environment. And now we can directly 1:40 choose our Elastic Beanstalk region. 1:43 So in my case, I've set it up in US East One, 1:46 and then I'll select our Elastic Beanstalk environment. 1:49 So now we're gonna automatically set up records to point directly to
The rest of the transcript is for members.
Sign in