Understanding VPC links in Amazon API Gateway

Understanding VPC links in Amazon API Gateway

A VPC link is a resource in Amazon API Gateway that allows for connecting API routes to private resources inside a VPC.

A private integration uses a VPC link to encapsulate connections between API Gateway and targeted VPC resources.

Why Use Amazon VPC Link?

One of the biggest advantages of using Amazon VPC Link is that it allows you to keep sensitive data within your VPC and away from the public internet.

VPC links for REST APIs

When you create a VPC link for a REST API, a VPC endpoint service is also created, making the AWS account a service provider. The service consumer in this case is API Gateway’s account.

Imagine you have a web application hosted in AWS that uses Amazon API Gateway to access backend services like Amazon S3, AWS Lambda, Amazon DynamoDB, Amazon Cognito etc. However, your application suddenly needs to securely access private resources such as databases or microservices within a Virtual Private Cloud (VPC). However, directly exposing your VPC to the public internet increases the attack surface for malicious actors. Some industries have mandatory compliance standards that avoid this type of architecture due to the inherent security risks.

An Elastic Load Balancer (ELB) is natively designed to distribute traffic to multiple internal servers while acting as the boundary between requests coming from the internet.

Use Cases for Amazon VPC Link

There are several use cases for Amazon VPC Link, including:

Accessing Resources in Your VPC: If your API needs to access resources within your VPC, such as an Amazon RDS instance or a custom application, Amazon VPC Link can be used to establish a secure connection between your API and these resources.

Securely Storing Sensitive Data: If your API handles sensitive data, such as financial information or personal data, you can use Amazon VPC Link to ensure that this data is kept confidential and secure by keeping it within your VPC.

Improving API Performance: By avoiding the public internet as a communication channel, Amazon VPC Link can improve the performance and reliability of your APIs. T

Integrating with Existing VPC Resources: Amazon VPC Link enables you to integrate your APIs with existing VPC resources, such as security groups and network access control lists (ACLs), for a more secure and flexible architecture.

要查看或添加评论,请登录

Isaias Bueno的更多文章

  • What is Amazon Route 53?

    What is Amazon Route 53?

    Amazon Route 53 is a highly available and scalable Domain Name System (DNS) web service. You can use Route 53 to…

  • What Is SEO – Search Engine Optimization?

    What Is SEO – Search Engine Optimization?

    SEO stands for Search Engine Optimization and helps search engines understand your website’s content and connect it…

  • What is Google Cloud Vertex AI?

    What is Google Cloud Vertex AI?

    Google Cloud Vertex AI is sort of like a Swiss Army knife for AI and machine learning projects on Google Cloud…

  • What is User Experience (UX) Design?

    What is User Experience (UX) Design?

    User experience (UX) design is the process design teams use to create products that provide meaningful and relevant…

    1 条评论
  • What is Amazon Kinesis?

    What is Amazon Kinesis?

    The Simple Explanation Amazon Kinesis is an Amazon Web Service designed to process large-scale data streams from a…

  • What Is AWS CLI (Command Line Interface) ?

    What Is AWS CLI (Command Line Interface) ?

    AWS CLI is a command line tool that is used for managing the AWS Services from the command line. Understanding AWS CLI…

  • What is Terraform?

    What is Terraform?

    Terraform is an infrastructure as code tool that lets you build, change, and version cloud and on-prem resources safely…

  • AWS Key Management Service (AWS KMS) for Data Encryption

    AWS Key Management Service (AWS KMS) for Data Encryption

    AWS provides over a hundred plus services which include storage, networking, database, application services, and many…

  • What is AWS Secrets Manager?

    What is AWS Secrets Manager?

    AWS Secrets Manager helps you manage, retrieve, and rotate database credentials, application credentials, OAuth tokens,…

  • Decision Tree in Machine Learning

    Decision Tree in Machine Learning

    Decision tree learning is a supervised learning approach used in statistics, data mining and machine learning. In this…

社区洞察

其他会员也浏览了