Internal static website hosting using Amazon Route53, ALB and Amazon S3

Amazon Route 53 → Application Load Balancer → Amazon S3 bucket

This pattern hosts an internal static website on an Amazon S3 bucket that can only be accessed from private network.

This template deploys a Route53 hosted zone, an Application Load Balancer (ALB), a VPC Endpoint and a S3 bucket.
The private website URL will be exposed via the Route 53 private hosted zone. This URL is accessible from within the VPC.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/route53-alb-s3

Deploy

sam buildsam deploy --guided


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the content of the S3 bucket: aws s3 rm s3://{WebsiteBucket} --recursive
Delete the stack: sam delete.
Delete the newly created CloudShell environment.

Created by:

Biswanath Mukherjee

Biswanath Mukherjee

Sr. Solutions Architect working at AWS India.

Follow on LinkedIn

Rakshith Rao

Rakshith Rao

I am a Senior Solutions Architect at AWS and help our strategic customers build and operate their key workloads on AWS.

Follow on LinkedIn