Scaling and securing private workloads using Amazon API Gateway (SVS318)

Here is a detailed summary of the video transcription in markdown format, broken down into sections for better readability:

Introduction

  • The session covers how to scale and secure your API workloads using Amazon API Gateway, AWS Private Link, and AWS Load Balancers.
  • The speakers are Higgy Park (Specialist Solutions Architect at AWS), Youf Robbie (Director for Application Networking at AWS), and Fabrio (Group Product Manager at Itaú Bank in Brazil).
  • The session aims to provide best practices and patterns for building scalable and secure API workloads using these AWS services.

API Gateway Connectivity Options

  • There are two main components: API clients (front-end) and API endpoints (back-end).
  • Front-end clients can connect to API Gateway using public or private connectivity.
    • Public connectivity uses the internet or a VPC Gateway.
    • Private connectivity uses AWS PrivateLink and VPC Endpoints.
  • Back-end API endpoints can also be public or private.
    • Public APIs are accessible over the internet.
    • Private APIs are accessible only through private connectivity, such as VPC Endpoints or Transit Gateway.

Backend Integration Patterns

  • Option 1: Use a 1:1 relationship between a VPC Link and a backend API endpoint.
    • Provides isolation and independent deployability, but limited scalability due to VPC Link quotas.
  • Option 2: Use a single VPC Link with an NLB and port-based routing.
    • Scales better by fanning out to multiple backend APIs, but requires managing the NLB configuration.
  • Option 3: Use a single VPC Link with an ALB and path-based routing.
    • Provides more flexibility and scalability by routing at the application layer (Layer 7).

Frontend Integration Patterns

  • When using private API Gateway endpoints, the behavior depends on whether private DNS is enabled or disabled in the VPC.
  • With private DNS enabled, you can use the standard API Gateway-provided hostname.
  • With private DNS disabled, you can use the VPC Endpoint ID or a combination of the API ID and VPC ID in the hostname.
  • Custom domain names can be used to access both public and private API Gateway endpoints within the same VPC.

Scalability and Security Considerations

  • Be aware of service limits and quotas, such as the number of VPC Links, NLB targets, and ALB configurations.
  • Implement security measures like VPC Endpoint policies, resource-based policies, and security groups to control access to your private API endpoints.

API Gateway Journey and Announcements

  • API Gateway has been scaling to process over 100 trillion API events per year, requiring significant platform improvements.
  • A new feature, Private Custom Domains, has been launched to simplify the management and security of private API endpoints.
    • Integrates with Resource Access Manager for cross-account and cross-VPC sharing.
    • Supports IPv6 connectivity and provides domain-level policies for improved governance.

Itaú Bank's API Platform

  • Itaú Bank, a large financial institution in Brazil, has built an API platform to enable faster time-to-market, improve efficiency, enhance security, and deliver a better developer experience.
  • The platform provides capabilities such as API design, development, validation, versioning, and publishing, all integrated with AWS services like API Gateway, PrivateLink, and Resource Access Manager.
  • Itaú Bank has achieved significant benefits, including a 60% increase in API reuse, 34% reduction in development costs, and a 92% customer satisfaction score.

Conclusion

  • The session provided a comprehensive overview of how to scale and secure API workloads using AWS services, with a focus on API Gateway, PrivateLink, and Load Balancers.
  • Recommendations were given for various backend and frontend integration patterns, as well as scalability and security best practices.
  • The journey of API Gateway and the new Private Custom Domains feature were discussed, along with a customer case study from Itaú Bank.
  • Attendees were encouraged to explore additional resources and sessions to further their learning on AWS services for API management and modernization.

Your Digital Journey deserves a great story.

Build one with us.

Cookies Icon

These cookies are used to collect information about how you interact with this website and allow us to remember you. We use this information to improve and customize your browsing experience, as well as for analytics.

If you decline, your information won’t be tracked when you visit this website. A single cookie will be used in your browser to remember your preference.

Talk to us