dev-resources.site
for different kinds of informations.
Setting Up Custom Domain for API Gateway & CloudFront
Published at
12/25/2024
Categories
aws
acm
apigateway
cloudfront
Author
cheedge_lee
Author
11 person written this
cheedge_lee
open
During migrating one local host website to AWS, there are many point I need to write donw. Each article will be a short note, just keep as simple as possible to record the working steps, which makes it later can be quickly found, and also with a simple description. Therefore this serie will not be a detailed explain articles.
Preparing certificate
First we need the SSL/TLS cert, and how to apply it on AWS ACM can be found here.
CloudFront
API Gateway
- In API Gateway console click the custom domain names, add a domain name.
- Fill in the domain (subdomain) name same as the domain name in the certificate you apply before.
- Refresh the ACM certificate, and choose the one used for the domain name you filled in before, and add.
- it will provide a API Gateway domain name, which used in next step, copy it.
- Next, go to the Domain Dashboard where you register your domain (eg. cloudflare), and create a new CNAME record.
- The name for this record is your domain(subdomain).
- the Target should be above copied new generated API Gateway domain name.
- (option) in cloudflare make sure that SSL encryption Mode be Full or Full(strict)
- API Gateway Mapping.
- under the Custom domain names -> your created domain name -> config API Gateway Mapping.
- Select the API and the Stage. for me, it's BackendAPI and prod Stage. Then when I use this domain, I can not add prod as a path after the domain.
cloudfront Article's
30 articles in total
Lee esto antes de implementar S3 y CloudFront usando Terraform.
read article
Lee esto antes de implementar S3 y CloudFront usando Terraform.
read article
Building an S3 Static Website with CloudFront Using Terraform
read article
AWS CloudFront: A Comprehensive Guide
read article
Configuring AWS WAF, CloudFront, and S3 Bucket for Secure Access
read article
Setting Up Custom Domain for API Gateway & CloudFront
currently reading
Apply SSL Certificate on AWS ACM (also Cloudflare)
read article
How to Fix Next.js CloudFront Permission Denied: Complete Guide to Static Export URL Issues
read article
Building Testable CloudFront Functions with TypeScript
read article
CloudFront and S3: SignatureDoesNotMatch , the request signature we calculated does not match the signature you provided
read article
Mastering Custom Responses in Amazon CloudFront to Block Behavior β Default(*)
read article
Unlock CloudFront's New Logging Potential with Athena Partition Projection
read article
Discovering the Latest Features of AWS CloudFront: Enhancing Performance andΒ Security
read article
Create an Asset Store with a Custom Domain using AWS CDK, Route53, S3 and CloudFront
read article
New Feature: Amazon CloudFront no longer charges (No Billing) for requests blocked by AWS WAF
read article
Reduce the amount of code in AWS CDK: Apply OAC in Amazon CloudFront L2 constructs
read article
Amazon Web Services (AWS) has announced today a new edge location in #Qatar
read article
Hosting a Static Website On S3 bucket With CloudFront.
read article
Setting up AWS S3 and CloudFront with Signed URLs using CDK
read article
Leveraging Lambda@Edge to seamlessly manage frontend maintenance window like a pro
read article
How to Resolve 403 Access Issues When Deploying a SPA on AWS with S3 and CloudFront
read article
Cloud Resume Challenge: Hosting a React CV using S3, CloudFront, Route 53, Lambda, DynamoDB and GitHub actions for CI/CD
read article
Deploying Static Website to AWS: A Step-by-Step Guide with S3, Route 53, and CloudFront
read article
Resolve Lambda URL Error - signature not match when using POST/PUT
read article
Setting Up and Securing CloudFront for S3 Static Sites with Custom Subdomains Using AWS Cloud Development Kit(CDK)
read article
How to Host a Static Website on AWS Using S3, Route 53, CloudFront, and Certificate Manager
read article
RTT Reduction Strategies for Enhanced Network Performance
read article
Dynamically Choosing Origin Based on Host Header and Path with AWS CloudFront and Lambda@Edge
read article
Understanding Speed: A Beginner's Guide to AWS CloudFront
read article
Deploy a Static React Site Using AWS S3 and CloudFront
read article
Featured ones: