When you’re doing development with AWS Amplify, chances are you want to do your work locally, from the command line, or in an IDE like VS Code. It’s totally possible to do, but first you’ll need to understand a few things about IAM Identity Center, AWS Organizations, SSO and the AWS CLI.
In this hands-on tutorial, I’ll walk you through the basics of setting up IAM Identity Center with an AWS Organization. We’ll create a custom permission set and then create a user and assign them to an account using that permission set. From there, we’ll install the AWS CLI locally, and configure an AWS profile so we can issue AWS commands from the command line. As we go, we’ll see some behind-the-scenes goodies like where your profile is stored, and what controls the timeout interval for temporary credentials. By the time we’re done, we’ll able to issue Amplify commands from our local machine.
Be sure to stick around to the end for step-by-step instructions on how to delete the resources provisioned during the video.
🌟***WHAT YOU NEED TO FOLLOW ALONG***🌟
• An AWS account, logged in with admin permissions
• Basic familiarity with IAM Identity Center (though I’ll guide you through the basics)
• The AWS CLI
🌟***LINKS REFERENCED IN THIS VIDEO***🌟
• The Amplify Gen 2 guide for setting up a local dev environment: https://docs.amplify.aws/react/start/...
🌟***OTHER VIDEOS YOU MIGHT ENJOY***🌟
• Build a React app using Amplify Gen 2: • Build a React To-Do App with Amplify ...
• IAM Identity Center concepts: • What is AWS IAM Identity Center? Exp...
🌟***MY AWS COURSES***🌟
If you’re interested in getting AWS certifications, check out these full courses. They include lots of hands-on demos, quizzes and full practice exams. Use FRIENDS10 for a 10% discount!
• AWS Certified Cloud Practitioner: https://academy.zerotomastery.io/a/af...
• AWS Certified Solutions Architect Associate: https://academy.zerotomastery.io/a/af...
🌟***TIMESTAMPS***🌟
00:00 – Getting started with setting up your local dev environment for AWS Amplify
00:25 – What you need to follow along
01:05 – How much will this cost?
01:24 – Why would you use IAM Identity Center and Organizations with Amplify?
03:31 – Setting up IAM Identity Center with AWS Organizations
05:44 – Adding a custom permission set to IAM Identity Center
07:39 – Adding a user in IAM Identity Center
08:51 – Granting a user permissions to an AWS account in IAM Identity Center
11:28 – Installing the AWS CLI
12:04 – Creating an AWS profile for local development
15:32 – Viewing the AWS config file for profile information
05:50 – Viewing the AWS profile cache folder and JSON file for JWT token expiration
16:27 – Refreshing expired local AWS SSO temporary credentials with aws sso login
16:55 – Testing Amplify commands from the AWS CLI
17:41 – Next steps to bootstrap your AWS account and build an Amplify app
18:33 – IMPORTANT! Deleting your resources – delete Identity Center and an AWS Organization
Watch video Set Up Your Local Development Environment for AWS Amplify Gen 2 | Tutorial for Beginners online without registration, duration hours minute second in high quality. This video was added by user Tiny Technical Tutorials 16 October 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 437 once and liked it 21 people.