Ad

HTTPS Is Set Up For Aws Nodejs Elastic Beanstalk Throught ACM And Load Balancer, How Do I Set Up The HTTPS For Angular In S3 Bucket

I'm new with aws and web dev. I am running nodejs on elastic beanstalk and angular7 on s3. How do i get angular 7 to load SSL certificate from the one generated by Amazon Certificate manager?

Ad

Answer

Using Cloudfront.
ACM only integrates with a few services: Elastic Beanstalk, ELB, Cloudfront, API Gateway and Cloudformation.
As per the AWS documentation, you need to create a Cloudfront distribution, install your certificate in there using ACM, and point the distribution to your S3 static website. Later you can point your Route53 domain to your cloudfront distribution to use your own domain. https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html

Ad
source: stackoverflow.com
Ad