
Build a full-stack app with hosting, CICD, typescript backend, authentication with Cognito, DynamoDB data, media storage, and Lambda triggers, and best practices for security, scalability, and cost efficiency.
Treat this course as a journey where every video connects to a complete picture, with lifetime access to revisit and complete projects.
What is Cloud Computing?
Discover how AWS, the Amazon Web Services cloud platform, delivers global infrastructure with 37 regions and 117 availability zones, pay-as-you-go pricing, scalability, and robust security and compliance.
Create an AWS account by verifying your email with an OTP, setting a password, providing personal and billing details, verifying your phone, and selecting the free basic plan.
Learn why the root user is risky and how IAM users with least privilege protect AWS resources. Create IAM users with unique credentials and roles to enable auditing with CloudTrail.
Create an IAM user in the AWS console, enable auto-generated password, and sign in to manage permissions and explore why access is denied until policies are understood.
Attach policies to IAM users to grant permissions across AWS services like S3 and Lambda. Learn policy structure, versions, statements, and examples of read, write, and admin access.
Create and manage permissions with IAM groups to assign policies once and apply them to multiple users, e.g., admins, developers, and read-only groups; use inline policies for granular control.
Define IAM roles as a set of permissions assumed by trusted entities such as IAM users, AWS services, or external identities to access AWS resources without long-term credentials.
Explore how infrastructure as code uses YAML or JSON templates to provision servers, databases, and networks, compare manual AWS console setups with automated deployments, and learn CloudFormation, Terraform, and Ansible.
Explore how CloudFormation lets you define and provision AWS infrastructure as code using YAML or JSON templates, then create a stack with resources like DynamoDB and an S3 bucket.
Learn to access AWS resources from your terminal using the AWS CLI, install and configure it, and manage IAM users, groups, S3 buckets, and CloudFormation stacks.
Learn how the AWS CDK defines cloud infrastructure as code in familiar languages, using constructs and type safety, with synth and deploy to generate CloudFormation templates.
Explore AWS Amplify Gen1, an all-in-one full-stack platform for hosting, backend services, and CI/CD via CLI or Studio, with limitations like restricted infrastructure control and CLI complexity.
Discover AWS Amplify Gen2’s code-first type safe backend defined in TypeScript, automated via AWS CDK, with cloud sandboxes, front-end integration, and Git-based CI/CD branch environments.
Explore Amplify hosting, a fully managed ci/cd platform for deploying static and server-side apps, with branch-specific environments, web previews, access control, and backend integration.
Learn to deploy a simple HTML app on Amplify using manual drag and drop and zip uploads, configure IAM permissions, and publish updates to a hosted domain.
Deploy an app built with npm or yarn (React, Angular, or Vue) using the Amplify Console by uploading the dist folder and clicking save and deploy.
Deploy your app from an S3 bucket to Amplify hosting without git by creating an S3 bucket, uploading dist files, and configuring IAM policies to grant get object access.
Push your code to GitHub and set up CI/CD with Git providers for deploying to AWS Amplify Gen2, including creating a GitHub account, repository, commits, and pushing your Angular project.
https://github.com/anasshahwan/Github-amplify-angular
Resolve node version issues causing deployment failures by upgrading Angular to 19 and Node.js to 20, then redeploy to complete a successful build.
Auto deploy applications using Bitbucket, guiding you from logging in and selecting the project to deploying the app and confirming a successful build.
Master aws amplify gen2 auto deployment with the GitLab provider by authenticating, selecting repositories, saving the project, deploying, and viewing the domain greeting from GitLab.
fix 404 not found errors by ensuring deployment points to the correct build folder and hosting path, then rebuild and redeploy so index.html sits in the dist or build directory.
Learn how to auto deploy an app from CodeCommit using AWS Amplify Gen2, including creating a repository, selecting master, configuring build output, and monitoring deployment.
Learn how to connect Git branches to Amplify CI/CD, create and push a dev and feature branch, and manage disconnects to keep production unchanged.
Configure access control in AWS Amplify to restrict environments, set the dev environment to require a username and password, and apply similar restrictions to production, then save.
Set up email notifications for build events in Amplify, configure SNS topics, subscribe your email, and verify subscriptions to receive start and finish emails for each branch.
Amplify Gen2 hosting's web previews automatically build and deploy a unique URL for each pull request, enabling testing before merging and automatic cleanup of temporary environments.
Learn to purchase a $1 domain and log in to access dns information, then connect your domain to Amplify Gen2 by configuring dns settings and name servers.
Connect your domain via the Amplify Console, configure dns with Ionos, verify ownership, and use the Amplify Match certificate; add www and dev subdomains with cname records.
Connect your domain with Route 53 by creating a hosted zone, setting custom name servers, and letting Amplify auto-create DNS records and SSL certificates.
Monitor application traffic and logs directly in the Amplify Console, view metrics, set alarms, and analyze access data with CloudWatch, SNS, and optional Athena or S3 storage.
Explore redirects and rewrites in AWS Amplify hosting to route users to the correct content using source, target, and type settings, including 301/302 redirects and 200 rewrites.
Set up and test custom headers and cache controls in AWS Amplify, using a custom headers YAML, inspect response headers, and rely on CloudFront caching to improve security and performance.
Learn to configure Amplify build settings and yaml workflows, manage environment variables, run pre-build, build, and test phases, install chrome headless, and deploy artifacts in ci cd pipelines.
Learn how AWS Amplify Gen2 deploys full-stack apps with webhooks to automate or manually trigger deployments from external systems, a CMS, or CI/CD pipelines.
Learn to add authentication with Amplify Auth, deploy auth resources, configure the Authenticator UI, manage user and custom attributes, groups, the current session and tokens, and MFA and social logins.
Set up the amplify gen2 backend with one command to add authentication and storage, generating an auth schema with login by email and preparing deployment to aws.
Configure an AWS IAM user for local development by creating a named profile with access keys and the correct region, then securely store credentials for Amplify deployments.
Attach the Amplify backend policy to your IAM user, deploy cloud resources with Amplify, and observe the generated amplify_outputs.json and CloudFormation stack for Cognito and authentication.
Connect your Angular frontend to the AWS Amplify backend by configuring AWS Amplify in main.ts, using Amplify.configure(outputs), and validating the connection via the network tab.
Learn to add a complete authentication flow using the Amplify UI authenticator in a Gen two Angular app, including setup, styling, signup, sign-in, and email verification.
Explore how Cognito underpins authentication and authorization in AWS Amplify Gen2, detailing user pools for sign-in, identity pools for access control, triggers, and federated identities.
Define Cognito user attributes like preferred username and birth date in AWS Amplify Gen2, and learn how to fetch and display them in the UI with the authenticator.
Define and deploy custom attributes in Cognito with AWS Amplify Gen2, combining standard attributes with custom string attributes like job title and company name, including length constraints and pre-signup triggers.
Explore Cognito groups to organize users for permissions and access control in Amplify apps, with groups like admins, editors, testers, and customers, each linked to IAM roles.
Retrieve the current user session with Amplify Auth to access signed-in details and tokens, and explain how the ID token differs from the access token, including scopes for API authorization.
Explore how Amplify Gen2 stores sessions by default in the browser's local storage and how to override storage to session storage or cookies using the Cognito token provider.
Learn how to add multifactor authentication to AWS Amplify Gen2 sign-in flows, requiring password plus OTP from an authenticator app or SMS, with seamless backend configuration and testing.
Enable sign in with Google through federated login using Amplify Gen2. Configure external providers with client ID and secret, set scope to profile and email, and map email and name.
Enable sign in with Facebook in Amplify Gen2, configuring the Facebook app ID, secret, and redirect settings. Update the backend and test sign-in via Cognito and verify the Facebook provider.
Add sign-in with Amazon to your Amplify authenticator UI by creating a security profile, obtaining the client ID and secret, configuring web settings, and validating login and sign-out across providers.
Learn to build custom sign-in and sign-up components using the Amplify API to sign up with email, capture attributes, verify sign-ups, and protect routes with a token-based profile guard.
Explore building sign-in and sign-up components with a simple HTML form integrated into Angular reactive forms, capturing email, password, full name, and company name, with otp and reset password coming.
Create an Amplify auth backend, deploy it to AWS, and connect a custom sign-in and sign-up UI in an Angular app, avoiding the default authenticator UI.
Learn how to create a new account with the sign up API in AWS Amplify Gen2, passing email, password, and user attributes, and complete the email confirmation step.
Build a full-stack app flow with AWS Amplify Gen2 by implementing a confirm sign up component to verify user emails using the ConfirmSignUp API.
Learn how to sign in users with AWS Amplify Gen2, validating email and password, handling next steps and authentication state, and routing to a profile page.
Display the current user's attributes on the profile page by fetching user attributes with Amplify, showing email, name, and company name in a styled UI container.
Implement a sign out button wired to an Amplify sign out function, navigate users to the login page, and address the security bug where the profile page loads without authentication.
Implement a profile guard using a canActivate guard to protect the profile route, checking session tokens with fetch auth session and redirecting to login when unauthenticated.
Learn to update a user's attributes, such as the preferred username, using Amplify in a profile component, with editing state, input binding, and save flows that refresh the UI.
Learn to implement a full reset password flow with AWS Amplify Gen2, including creating a reset password component, OTP verification, email-based code delivery, and final password update.
Override Cognito password policy in Amplify Gen2 by editing backend settings and Amplify output JSON to enforce a minimum length and character requirements (lowercase, uppercase, numbers, symbols) for user signups.
Sign in with Google via the SignInWithRedirect API in AWS Amplify Gen2 using a custom component, including client id, secret, scopes, and email/username mapping.
Implement sign in with facebook using the SignInWithRedirect API in aws amplify gen2, configure the provider, map user data, and resolve domain and cognito setup for a seamless login.
Listen to auth events via the AWS Amplify hub, handling signed in, signed out, and sign-in with redirect from third-party providers. Unsubscribe with a cancel handler in ngOnDestroy.
Customize the verification email template in AWS Amplify Gen2 by editing the subject, style, and HTML body in the Auth resources, then deploy and test with a new account.
Explore how to store, read, and manage cloud data with Amplify Data and DynamoDB, including real-time subscriptions, filter queries, pagination, and access control for guests and users.
Set up amplify data in app by running npm create Amplify@latest in root. Define a GraphQL todo table with content and completed for export.
Deploy Amplify Gen2 data resources by running NPX AMPX sandbox, ensuring IAM configuration, and creating CloudFormation stacks for auth and data, generating a JSON file for front end.
Connect the Amplify Gen2 backend to your app by importing Amplify and the deployment outputs, configuring Amplify with those outputs, and verifying the AWS connection in the frontend console.
Store data in DynamoDB by creating new todo items via Amplify data APIs, wiring a form submission to a generated client and to-do model, returning the created task.
Explore how DynamoDB, AWS's fully managed NoSQL service, delivers high performance with single-digit millisecond response times, automatic scaling, and replication across multiple availability zones in a serverless model.
Learn to read data from the database and display to-dos in the UI using a list todos call, handling promises and binding content, status, and createdAt.
Use the get function to retrieve a single todo by its id, passing the id and logging the result, showing data when found and empty or null when not.
Split a growing todos UI into separate components, create a Todo component, pass data from the Todo to the Todos component, and display it in the UI for cleaner code.
Update todo attributes using Amplify Gen2: update status and title via a generated client, bind with ng model, and reflect backend changes in the UI after saving.
Learn to delete a to-do from the database using an id within an AWS Amplify Gen2 full-stack app, update the client UI, reset the form, and verify deletion by reloading data.
Learn to retrieve data in real time by subscribing to an observe query on the to-dos database and auto-refreshing the list as items are created or deleted.
Learn to fetch todos by status using a dropdown filter that selects done or not done, filtering by completed (true) or not completed (false) and updating the list.
Learn to implement pagination in a full-stack AWS Amplify app by limiting reads with a next token, showing a see more button, and retrieving three records per page.
Learn to reduce cost by using a custom selection set to fetch only the needed attributes, such as id, content, and isComplete, across list, get, and delete operations in DynamoDB.
Learn how to structure data models within a schema, define fields and data types, and use custom types, enums, and arrays with notes and tags, plus CRUD and real-time features.
Customize data model identifiers by replacing the generated id with a required to-do id field, manage it on create, and ensure uniqueness to avoid front-end errors.
Explore how guest authorization works in the Amplify Gen2 backend, restricting guests to read-only access for the to-do model and distinguishing actions via identity pool authorization.
Explore how public API key and guest access differ in an AppSync GraphQL backend, and configure API key expiry, rotation, and Cognito identity pool authorization for posts and to-dos.
Enable signed-in user authorization with AWS Amplify Gen2, switching from guest access to authenticated create, read, update, and delete via the authenticator UI and user pool.
Switch from authenticated to owner-based authorization, tying each record to its owner via an owner field and JWTs. See how renaming the field, like author, affects permissions.
enable group-based data access in aws amplify gen2 by assigning users to cognito groups like admins and users, deploy changes, and test read and full permissions.
Set up authorization at schema and model levels, show inheritance from rules, and override with field-level rules like ssn restricted to the owner using public key, owners, authenticated, and groups.
Set up Amplify storage, upload files to AWS, list and display them in your UI, download or remove, and implement custom authorization rules to control who can upload or delete.
Learn to add a storage backend with Amplify Gen2 by defining a media storage application bucket, setting access, and deploying to enable cloud uploads.
Explore how Amazon S3 powers Amplify Storage, learning how to create buckets, upload objects, and manage access with permissions and policies for scalable cloud storage.
Upload files to an AWS S3 bucket using Amplify Storage, passing user files as the path and handling the file data and results to confirm uploads and permissions.
Learn to retrieve all objects from an S3 bucket by listing files, await the results, and display the file paths as cards in the user interface.
Learn to download files in a full-stack AWS Amplify app by passing a file path, fetching the download URL with get URL from AWS storage, and triggering automatic downloads.
Learn to remove files in AWS Amplify Gen2 for full-stack applications by implementing a delete function, handling storage paths, and updating permissions to delete objects in an S3 bucket.
Copy files with Amplify Storage by creating a copy function that specifies source and destination paths, with optional renaming, while using try/catch and logging results.
Explore how custom authorization rules govern storage access, distinguishing guest versus authenticated users, and control read, write, delete, get url, and list actions by owner identity and groups.
Master amplify functions and lambda by invoking them from the UI, and implement scheduling jobs, pre-sign-up and post confirmation triggers, storage triggers, and environment variables for secure configuration.
Set up Amplify functions by creating a functions folder with a say hello resource and handler, then deploy and test the lambda in the console.
Learn to invoke a Lambda function from the UI by wiring a hello query as a handler, passing a name argument, and returning a string with an Amplify generated client.
Stream logs from AWS Lambda with Amplify, and listen to function outputs directly in your terminal. Trigger functions from the UI or console and verify real-time logs as you test.
Learn how AWS Lambda powers Amplify Functions as a serverless compute service, where you upload code, pay only for compute time, and trigger it by events like HTTP requests.
Configure lambda functions by setting name, entry, timeout, memory, and storage. Default timeout is 3 seconds, memory 512 MB; use Node.js or Python and set triggers for authentication or storage.
Learn to schedule AWS Amplify Gen2 functions to run on a set timetable using defineFunction and schedule, including cron syntax and EventBridgeHandler for daily reports.
Implement a pre sign up trigger in AWS Amplify Gen2 to validate emails and restrict sign ups to apple.com by domain check.
Validate birth date in the pre-signup Cognito trigger by enforcing an age check (at least 18), using a single lambda handler, and verify email during deployment and testing.
Learn how to add a user to a Cognito group using a post confirmation trigger, including creating groups, a handler, and using the admin add user to group command.
Learn to set up storage triggers for on upload events, create a storage resource and handler, export and import the storage, and deploy to listen for uploaded files.
Learn to use lambda environment variables in AWS Amplify Gen2 to store API endpoints and settings for dev and prod, and access them in your handler with secrets.
Thank you for joining this course. Now build your own projects, experiment with ideas, learn from mistakes, and keep coding as Amplify Gen2 evolves.
Master AWS Amplify Gen2 – Build & Deploy Full-Stack Serverless Applications
Learn how to build, deploy, and scale full-stack applications with AWS Amplify Gen2, the next generation of AWS’s powerful full-stack development platform. This hands-on, practical course will walk you step-by-step through Amplify Gen2 hosting, authentication, data, storage, and serverless functions — everything you need to become an AWS Amplify Gen2 expert.
________________________________________________________________________________
What You’ll Learn in This Course
Hosting & Deployment with AWS Amplify Gen2
Set up and configure manual hosting for your applications.
Implement CI/CD pipelines for automated deployments directly from your Git repository.
Authentication with Amazon Cognito
Build a secure authentication system using Amazon Cognito.
Integrate Authenticator UI for quick sign-up/sign-in flows.
Create a custom authentication UI and connect it to Amplify Gen2 Sign-Up & Sign-In APIs.
Data Management with Amplify Gen2 Data
Read and write data to Amazon DynamoDB.
Implement real-time GraphQL APIs using AppSync.
Media Storage with Amplify Storage & Amazon S3
Build a media upload application using Amplify Gen2 Storage
Manage files securely in Amazon S3
Serverless Logic with Amazon Lambda
Write and deploy Lambda functions
Trigger Lambda functions from multiple event sources
________________________________________________________________________________
Why This Course is Different
This is not just theory — it’s a highly practical, deep-dive learning experience. You’ll work alongside me as we build real-world applications and gain a complete understanding of how Amplify Gen2 works under the hood.
________________________________________________________________________________
By the End of This Course, You Will:
Understand AWS Amplify Gen2 architecture and core services
Build full-stack serverless applications with authentication, storage, and real-time data
Confidently integrate Cognito, DynamoDB, AppSync, S3, and Lambda into your projects
Deploy and manage applications with Amplify Hosting & CI/CD
Take your AWS skills to the next level. Join now and start building powerful, cloud-native, full-stack applications with AWS Amplify Gen2!