Lädt...

🔧 AWS Amplify App creation using AWS S3 + GitHub Repo


Nachrichtenbereich: 🔧 Programmierung
🔗 Quelle: dev.to

Host your Static Web App

  • Get started with static web hosting.
  • AWS Amplify Console offers a simple Git-based workflow for building and deploying static web apps to AWS.
  • It only takes 15 minutes to connect your repository, configure build settings, and deploy.
  • _Supports Web (React, Vue, Angular, and more)
    _
    Develop your Mobile or Web App

  • Develop a "to-do app" that syncs app data to the cloud and take off from there.

  • Create the backend in under 5 minutes, or use an existing AWS backend.

  • Connect to your backend with Amplify Libraries.

  • Supports Android, iOS, React Native, Web (React, Vue, Angular, and more)

AWS Amplify is a AWS Managed service

1.Step by Approach for how to create AWS Amplify website using Github Repo

1.1.Open Amplify console by searching AWS amplify in aws console, AWS Amplify console looks below

Image description

1.2.Click on deploy an app

Image description

1.3.Select GitHub option then click on Next

Image description

1.4.Then it will ask for github authorisation , please clone the repos mentioned below in the references for your practise and select the one after authorisation then click next , select repository, branch and click on Next

Image description

1.5.Click Next in Appsettings

Image description

1.6.Click on Save and Deploy

Image description

1.7.Deploying in progress

Image description

Still deploying

Image description

1.8.Deployed successfully, copy the url from the domain and render it

Image description

Image description

1.9.If we wanted to delete the Amplify website then go to Amplify console then select the App, then select General settings from the left menu highlighted below

Image description

1.9.1.Click on Delete App

Image description

1.9.2.It will ask for confirmation, please message delete

Image description

  • Amplify website deleted successfully

1.9.3 Delete Applify using AWS CLI Command

aws amplify delete-app --app-id <your-app-id> --region <application-region>

2.Step by Approach for how to create AWS Amplify website using content in AWS S3
2.1 Create a new S3 bucket

Image description

2.2 Upload the files from Repo to AWS S3 website

Image description

2.3 Go to properties section of S3 bucket

Image description
2.4 Go bottom of the screen

Image description

2.5 Create Amplify app button is visible, in 2024 aws enabled files to be deployed from AWS S3 bucket easily. But where as for aws s3 static website we need to define the policies but in this case its not required

2.6 Change the App name, branching based on your request and then click on Save and Deploy

Image description

2.7 Deployment in progress

2.8 Deployed

Image description

2.9 Render the url

Image description

2.10. Redeploying the changes from AWS S3 to AWS Amplify

2.10.1 Click on Deploy updates
Image description

2.10.2 we have multiple options to deploy to AWS Amplify

Image description

2.10.3 I have updated my files in AWS S3 bucket and selected the bucket for deploying the changes, click on save and deploy

Image description

2.10.4 Deploying the changes
Image description

2.10.5 Deployed the changes

Image description

Render the url and check the changes

2.11 Delete the AWS Amplify website - Follow the step 1.9 for deleting the AWS Amplify website

References:

💬 If you enjoyed reading this blog post and found it informative, please take a moment to share your thoughts by leaving a review and liking it 😀 and follow me in dev.to , linkedin

...

🔧 AWS Amplify App creation using AWS S3 + GitHub Repo


📈 59.24 Punkte
🔧 Programmierung

🔧 Sync GitHub repo and Hugging Face Space Repo with GitHub Actions


📈 38.93 Punkte
🔧 Programmierung

🔧 DevOps Project - Connect a GitHub Repo with AWS ----&gt; My first time of using GitHub!!


📈 32.86 Punkte
🔧 Programmierung

🔧 Ok Boomer! Instant GitHub Repo Creation in One Command 🚀


📈 29.53 Punkte
🔧 Programmierung

🔧 how to set up status checks in your GitHub repo using GitHub Actions


📈 28.93 Punkte
🔧 Programmierung

🔧 How to Update AWS Amplify After Renaming Your GitHub Repository


📈 25.36 Punkte
🔧 Programmierung

🔧 Phase 2: Connecting a GitHub Repo with AWS


📈 23.39 Punkte
🔧 Programmierung

🔧 DevOps Project 1: Connect a GitHub Repo with AWS


📈 23.39 Punkte
🔧 Programmierung

🔧 Deploying a Vite app on GitHub Pages using GitHub Actions with GitHub Secrets


📈 23.39 Punkte
🔧 Programmierung

🔧 Clean Up Your GitHub using git-filter-repo: Email Updates and Commit Messages


📈 23.19 Punkte
🔧 Programmierung

🔧 Create a GitHub Repo and Clone It Locally Using SSH and TortoiseGit (Windows)


📈 23.19 Punkte
🔧 Programmierung

🪟  Hackers abused GitHub comments to push malware using Microsoft repo URLs


📈 23.19 Punkte
🪟 Windows Tipps

🔧 Chat with your Github Repo using llama_index and chainlit


📈 23.19 Punkte
🔧 Programmierung

🔧 How to clone a GitHub repo using GitKraken


📈 23.19 Punkte
🔧 Programmierung

🔧 Embed Your GitHub Repo Files like Gists Using EdGitHub


📈 23.19 Punkte
🔧 Programmierung

🔧 How to Create React/Next.js App with a Fresh GitHub Repo


📈 21.9 Punkte
🔧 Programmierung

🔧 How to Automate Kafka Topic Creation and Deletion, Using GitHub Actions and JavaScript


📈 19.54 Punkte
🔧 Programmierung

🔧 Azure VM Creation using Terraform with GitHub Actions Pipeline[2024]


📈 19.54 Punkte
🔧 Programmierung

🔧 Demo: Automating GitHub Repo Configuration and Security with Minder


📈 19.46 Punkte
🔧 Programmierung

🐧 Github updates user interface to be more similar to gitlab (git repo used as example)


📈 19.46 Punkte
🐧 Linux Tipps

🎥 How Repo Swatting Can Destroy Your GitHub Account!


📈 19.46 Punkte
🎥 IT Security Video

🔧 Every GitHub Repo 404 😱


📈 19.46 Punkte
🔧 Programmierung

📰 Ta-ta, security: Bungling Tata devs leaked banks' code on public GitHub repo, says IT bloke


📈 19.46 Punkte
📰 IT Security Nachrichten

🔧 Top 17 Fast-Growing Github Repo of 2024


📈 19.46 Punkte
🔧 Programmierung

🔧 Star for Star Github Repo Thread....


📈 19.46 Punkte
🔧 Programmierung

🔧 Trending GitHub Repo of the day: Build WhatsApp bot with whatsapp-chatgpt


📈 19.46 Punkte
🔧 Programmierung

📰 New York Times warns freelancers of GitHub repo data breach


📈 19.46 Punkte
📰 IT Security Nachrichten

🔧 Ask Any Github Repo Any Question with Claude-Dev


📈 19.46 Punkte
🔧 Programmierung

matomo