AWS Amplify Gen 2: A Code-First Approach to Fullstack Development

Jump to

AWS Amplify has unveiled a public preview of its new code-first developer experience, empowering frontend developers to rapidly build and deploy fullstack applications using their existing TypeScript or Javascript skills. This evolution, dubbed Gen 2, marks a significant shift from the previous tooling-first approach to a more streamlined, code-centric workflow.

Key Features of AWS Amplify Gen 2

TypeScript-First Libraries: New libraries built with AWS Cloud Development Kit (CDK) allow developers to configure their backend using TypeScript, providing code completion, IntelliSense, and inline documentation.

File-Based Convention: A file-based convention offers transparency and predictability for backend authoring, grouping resources by use case into separate files.

Per-Developer Cloud Sandboxes: Each developer gets their own sandbox environment, enabling faster iteration and automatic syncing of code changes to the cloud.

Unified Management Console: The Gen 2 Amplify console consolidates experiences across Studio and Hosting, providing a single interface for managing builds, hosting settings, deployed resources, and environment variables.

Fullstack Git Branches: Amplify now supports automatic deployment of infrastructure and application code changes from feature branches, with team environments mapping directly to Git branches.

AWS CDK Extension: Developers can extend their backend using AWS CDK L1 or L2 code inline in their project, allowing integration of additional AWS services.

Form Generation: A single command generates React forms for data models, which are fully customizable and support custom validation logic.

Monorepo and Multi-Repo Support: Amplify’s CI/CD works well with monorepo setups and supports backend-only CI/CD for separate frontend and backend teams.

Custom Pipelines: Gen 2 allows integration of custom deployment pipelines, enabling trunk-based deployments with stages and multi-account deployments.

Centralized Secret Management: The new version offers centralized management of secrets and environment variables for all fullstack branches.

The Evolution of AWS Amplify

AWS Amplify has come a long way since its launch in November 2017. Key milestones include:

  • November 2017: Launch of AWS Amplify as an open-source JavaScript library
  • August 2018: Introduction of the Amplify CLI
  • December 2020: Launch of Amplify Studio (formerly Admin UI)
  • December 2021: Addition of UI building capabilities to Amplify Studio

Customer-Driven Improvements

The shift to a code-first approach in Gen 2 was inspired by extensive customer feedback. Developers expressed a desire for:

  1. Deeper understanding of the underlying processes
  2. Faster feedback loops during local development
  3. Improved workflow for production rollouts
  4. Simplified onboarding for new AWS users

Looking Ahead

As AWS Amplify Gen 2 moves towards general availability, the team is focusing on:

  • Expanding backend features for additional use cases
  • Enhancing the local sandbox experience
  • Developing migration tools for Gen 1 customers

This new iteration of AWS Amplify represents a significant step forward in fullstack development, offering greater control, faster iteration, and improved team workflows for developers across the board.

Read more such articles from our Newsletter here.

Leave a Comment

Your email address will not be published. Required fields are marked *

You may also like

.net backend development guide

The Ultimate .NET Backend Developer Roadmap: From Novice to Expert

In the ever-evolving world of software development, becoming a proficient .NET backend developer requires a comprehensive understanding of various technologies and concepts. This roadmap provides a structured approach to mastering

Categories
Scroll to Top