DEV Community

1

Deploy of Application from S3 Bucket Using AWS Amplify

“ I have checked the documents of AWS to deploy of application from s3 bucket using aws amplify. AWS Amplify makes it easy and secure to deploy an app. In terms of cost, the solution is cheaper and secure.”

AWS Amplify is everything you need to build web and mobile apps. Easy to start, easy to scale. Amplify hosting provides a Git-based workflow for hosting full-stack serverless web applications with continuous deployment. Amplify deploys your app to the AWS global content delivery network. This user guide provides the information you need to get started with Amplify Hosting.

In this post, you will experience the deploy of application from s3 bucket using aws amplify. Here I have deployed an app from s3 bucket index.html file using aws amplify as hosting a website with required manage of access control and notification permissions.

Architecture Overview


The architecture diagram shows the overall deployment architecture with data flow, s3 bucket, aws amplify and sns.

Solution overview

The blog post consists of the following phases:

  1. Deploy of App from S3 Bucket Using AWS Amplify
  2. Manage Access Control with Username and Password
  3. Manage Notifications with Email Using Amazon SNS
  4. Output of Access Logs and Metrics

Phase 1: Deploy of App from S3 Bucket Using AWS Amplify

  1. Open the aws amplify console, click on deploy an app button. We can create a new app using deploy without git option under start building with amplify. In s3 bucket, hosting app with index.html file. Under start a manual deployment, choose app name as “MyApp”, branch name as “Staging” and method as “Amazon S3” and save and deploy. This will do app deployment on a specified branch. The deployed URL(domain) displays the app on page.

Phase 2: Manage Access Control with Username and Password

Phase 3: Manage Notifications with Email Using Amazon SNS

Phase 4: Output of Access Logs and Metrics

Clean-up

AWS Amplify: Delete an app, S3 Bucket and Amazon SNS.

Pricing

I review the pricing and estimated cost of this example.

Cost of AWS Amplify = $0.15 per GB served (data transfer out) x 0GB = $0.00

Cost of Amazon Simple Storage Service = $0.01

Cost of Amazon Simple Notification Service = $0.00

Total Cost = $0.00 + $0.01 + $0.00 = $0.01

Summary

In this post, I showed “deploy of application from s3 bucket using aws amplify”.

For more details on AWS Amplify, Checkout Get started AWS Amplify, open the AWS Amplify console. To learn more, read the AWS Amplify documentation.

Thanks for reading!

Connect with me: Linkedin

Top comments (1)

Collapse
 
eric_adjei_142d6ec3ad2abc profile image
Eric Adjei

So no db? Did I miss something?

👋 Kindness is contagious

Explore this practical breakdown on DEV’s open platform, where developers from every background come together to push boundaries. No matter your experience, your viewpoint enriches the conversation.

Dropping a simple “thank you” or question in the comments goes a long way in supporting authors—your feedback helps ideas evolve.

At DEV, shared discovery drives progress and builds lasting bonds. If this post resonated, a quick nod of appreciation can make all the difference.

Okay