SlideShare une entreprise Scribd logo
1  sur  54
Télécharger pour lire hors ligne
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Laura Caicedo
Partner Solutions Architect
AWS
G P S T E C 3 0 6
Nick Matthews
Principal Solutions Architect
AWS
PrivateLink for Partners:
Connectivity, Scale, Security
Laura Caicedo
Partner Solutions Architect
AWS
Nick Matthews
Principal Solutions Architect
AWS
Jonathan Sander
Security Field CTO
Snowflake Computing
Paul Barber
Managing Director, Product Architecture
Airlines Reporting Corporate (ARC)
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Agenda
• What is PrivateLink
• Benefits
• Architecture
• Deployment types
• Architecture design options
• Snowflake use case
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Problem …
$
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
IGW
EIP or
Public
DNS
Sharing a service without AWS PrivateLink
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Route table
maintenance
Sharing a service without AWS PrivateLink: Peering
10.10.0.0/16 -> pcx-xxxxxx 172.31.0.0/16 -> pcx-xxxxxx
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Sharing a service without AWS PrivateLink: Peering
10.10.0.0/16 -> pcx-xxxxxx
192.168.0.0/16 -> pcx-xxxxxx
10.10.0.0/16 -> pcx-xxxxxx ???
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
VPC
Endpoint
Private IP 10.10.1.6
NLB
Endpoint
Service
Sharing a service with AWS PrivateLink
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Benefits of AWS PrivateLink
Secure
your traffic
Simplify
network
management
Accelerate
hybrid cloud
migration
Scalability
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Endpoint Service
Service name: com.amazonaws…
One-way
access
Security
group for
the endpoint
Private IP
Support for
overlapping
addresses
PrivateLink benefits: Security and management
NLB VPC
Endpoint
Private IP
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
PrivateLink benefits: Scalability & hybrid cloud
Share to
thousands of
VPCs
Grow your
business
Hybrid cloud
adoption
Endpoint Service
Service name: com.amazonaws…
NLB
VPC
Endpoint
VPC
Endpoint
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Network load balancer
• Connection-based load balancing
• Built-in health checks
• High throughput
• Low latency
• Preserve source IP address
• Static IP and elastic IP support
• Load balancing using IP addresses
as targets
• Fully fault-tolerant
AZ-3AZ-2
AWS Region
Elastic load
balancing
AZ-1
Web Web Web Web Web Web
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
NLB
Endpoint Service
Service name: com.amazonaws…
vpce-svc-02d91882a635HAPPY
• Whitelist principals
• Accept endpoint connections
• Notifications
Set up PrivateLink for providers
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
• Virtual networking card
• Has a private IP in the address range of
your subnet
• Can be owned by you or managed by an
AWS service
• Apply security groups to an elastic
network interface
Elastic network
interfaces
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Accessing AWS services from your VPC
Gateway VPC
endpoints for AWS
Interface VPC
endpoints for AWS
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon S3 and your VPC
Amazon
S3 bucket
Internet
VPC
Endpoint
Route S3-bound traffic
to the VPC endpoint
• No IGW
• No NAT
• No public IPs
• Robust access
control
• Free
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Interface VPC endpoints
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Interface VPC endpoints
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Interface endpoint service available
• Amazon API Gateway
• AWS CloudFormation
• Amazon CloudWatch
• Amazon CloudWatch Events
• Amazon CloudWatch Logs
• AWS CodeBuild
• AWS Config
• Amazon EC2 API
• Elastic Load Balancing API
• AWS Key Management Service
• Amazon Kinesis Data Streams
• Amazon SageMaker Runtime
• AWS Secrets Manager
• AWS Security Token Service
• AWS Service Catalog
• Amazon SNS
• AWS Systems Manager
• Endpoint services hosted by other AWS
accounts
• Supported AWS Marketplace partner
services
https://docs.aws.amazon.com/vpc/latest/userguide/vpce-interface.html
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
vpce-svc-
0..635HAPPY
Setting up PrivateLink for consumers
VPC
Endpoint
vpce-….ec2.eu-west-1.vpce.amazonaws.com
vpce-…eu-west-1a.ec2.eu-west-1.vpce.amazonaws.com
vpce-…eu-west-1b.ec2.eu-west-1.vpce.amazonaws.com
SaaS Service
• Endpoint DNS names are
created:
• 1 regional FQDN for the
endpoint
• 1 or more zonal FQDNs for
each Availability Zone
Security
groups
CNAME api.example.com
--> ALIAS vpce-xxxx.vpce-
svc-xxxx.eu-west-
1.vpce.amazonaws.com
VPC
Endpoint
• Notifications
• If PrivateDNS enable:
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Packet walkthrough (1/2) – DNS
1. If Private DNS is enabled,
requests endpoint
resolution from Route
53—private hosted zone
2. Consumer forwards to the
local IP 10.0.1.6 from
source IP 10.0.1.8
3. Traffic is sent to the
service endpoint
Client looks for service
api.example.com (Alias)
Amazon Route 53
Private hosted zone
10.10.1.8
ENI’s endpoint forwards
traffic to the provider
10.10.1.6
SaaS consumer account
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Packet walkthrough (2/2) – NAT
4. NLB does source NAT
1. Source 10.0.1.8 translated to
Source 172.31.1.60
5. App replies to 172.31.1.60
6. NLB changes the source
back to 10.10.1.6
Source NAT
SaaS consumer account
Amazon Route 53
Private hosted zone
10.10.1.810.10.1.6
I am receiving traffic
from 172.31.1.60
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
PrivateLink deployment types
SaaS
• Silo
• Bridge
• Pool
Within an organization
• Marketplace offers
• Internal environments
• Managed service providers
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
NLB
Endpoint Service
Service name: com.amazonaws…
VPC Endpoint
Private IP - 10.10.1.6
SaaS deployment types: Silo
• Expose custom
addresses to customers
• Expose only what’s
needed
• Provider management
can be shared
• Onboarding
• Management
• Operations
• Billing
NLB
Endpoint Service
Service name: com.amazonaws…
VPC Endpoint
Private IP - 10.10.2.6
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
SaaS deployment types: Pool
• Elasticity and agility of a
shared infrastructure
footprint
• Custom addresses per
customer with one set of
infrastructure
• Management,
deployment, and
operation are easier
• One or more load
balancer per shared
service
• API
• Front-end
• Resource
NLB
Endpoint Service
Service name: com.amazonaws…
VPC Endpoint
Private IP - 10.10.1.6
VPC Endpoint
Private IP - 10.10.2.6
VPC Endpoint
Private IP - 10.10.1.6
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
NLB
Endpoint Service
Service name: com.amazonaws…
SaaS deployment types: Bridge
• Hybrid between pool
and silo
• Different service
names
NLB
Endpoint Service
Service name: com.amazonaws…
VPC Endpoint
Private IP - 10.10.1.6
VPC Endpoint
Private IP - 10.10.2.6
VPC Endpoint
Private IP - 10.10.1.6
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS SaaS Marketplace
• Easily create secure endpoints
• No public IP address
• Curated SaaS products
• Discoverability of the services when
customers purchase SaaS on AWS
Marketplace
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Marketplace: DNS Vanity
vpce-svc-1a2b3c4d.us-east-1.vpce.amazonaws.com
Service Base DNS Name
Service ID Region Sub Domain
vpce-12345.vpce-svc-1a2b3c4d.us-east-1.vpce.amazonaws.com
Endpoints DNS Name on Client Side
VPC Endpoint
ID
vpce-67890.vpce-svc-1a2b3c4d.us-west-1.vpce.amazonaws.com
us-east-1.vpce.myexample.com
Service Vanity DNS Name
Region Sub Domain
vpce-12345.us-east-1.vpce.myexample.com
Endpoints DNS Name on Client Side
VPC
Endpoint
ID
vpce-67890.us-west-1.vpce.myexample.com
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Internal environments
NLB
Endpoint Service
Service name: com.amazonaws…
VPC Endpoint
Private IP - 10.10.1.6
VPC Endpoint
Private IP – 172.31.1.6
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Reference
architecture
NLB
Dedicated On-premises Endpoint VPCProvider SaaS VPC
Customer VPC
AWS Direct
Connect Location
(Anywhere)
Direct Connect
Gateway
Service
Customer chosen Availability Zones
CIDR: Defined by customer
On-premises
Service
NLB placed in every
Availability Zone
A api.example.com
10.x.x.x
10.x.x.y
api.example.com
CIDR: Provider chosen range
Customer chosen Availability Zones
Route 53 Private
Hosted Zone
CNAME api.example.com
--> ALIAS vpce-xxxx.vpce-svc-
xxxx.us-east-2.vpce.amazonaws.com
WANVPC Endpoint VPC Endpoint
VPC Endpoint VPC Endpoint
DNS Server
Forward api.example.com to AWS
DNS
OR
Customer
Gateway
VPN
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Connectivity options from on-premises
Load Balancer
Endpoint Service
Service name: com.amazonaws…
VPC Endpoint
Private IP - 10.10.1.6
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Source IP address visibility: proxy protocol
The Proxy Protocol header includes
private IP of the consumer and the ID
of the endpoint.
Type-Length-Value (TLV) vector:
I am receiving traffic from
172.31.1.60,
Proxy Protocol Header has
source IP 10.0.1.8
Source IP
10.0.1.8
Proxy
Protocol V2
Field
Length
(in octets)
Description
Type 1
PP2_TYPE_AWS
(0xEA)
Length 2
The length of
value (0x01)
Placeholder 1
PP2_SUBTYPE_AW
S_VPCE_ID
SaaS consumer
account
172.31.1.60
VPC
Endpoint
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Application
Cross-region
peering
us-east-1
eu-west-1
PrivateLink and cross-region peering : IP load balancing
How do you handle
global connectivity?
• AWS PrivateLink now
supports access over
Inter-Region VPC
Peering
IP as a target
VPC
Endpoint
VPC
Endpoint
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
PrivateLink and cross-region peering: Remote endpoints
NLB
VPC
Endpoint
Cross-region
Peering
us-east-1
eu-west-1
VPC
Endpoint
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
SSL offloading
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Resource-based PrivateLink
• Can it be load balanced?
• Database
• Logging service
• Enterprise application
Solutions
• Use one NLB per resource
• Use a single NLB using different listening ports
• 10.1.1.100:8081
• 10.1.1.100:8082
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Services that initiate new connections to clients
Provider services that need to initiate connections or have bidirectional connections
• Use VPC peering or a two-way PrivateLink design
VPC
Endpoint
VPC
Endpoint
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Snowflake: The data warehouse built for the cloud
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS VPN
Connection
Give your
VPN authorized
access to services
on AWS
AWS Direct
Connect
Give your
on-premises
resource access
to services on AWS
How Snowflake integrates with PrivateLink
Each customer is uniquely configured with an NLB in their region
PrivateLink is often a piece of a larger private comms requirement
VPC endpoint
Create an interface
VPC endpoint
Network load
balancer
Connect the endpoint
to the network load
balancer of the
service of your choice
JDBC/ODBC,
programs, snowsql
Customer
Other systems on
customer resources
Amazon EC2
Instance
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Some quick background …
$88.5 billion in ticket transactions
287 million passenger trips
World’s most comprehensive air ticket
transaction data
www.arccorp.com
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
An easy choice …
Data security is always top of mind.
No negative impact in how our products perform.
Implemented in a day.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Sharing is simple …
Thank you!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Laura Caicedo, lauracai@amazon.com
Nick Matthews, nickmatt@amazon.com
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Contenu connexe

Tendances

Tendances (20)

Amazon Pinpoint を中心としたカスタマーエンゲージメントの全体像 / Customer Engagement On Amazon Pinpoint
Amazon Pinpoint を中心としたカスタマーエンゲージメントの全体像 / Customer Engagement On Amazon PinpointAmazon Pinpoint を中心としたカスタマーエンゲージメントの全体像 / Customer Engagement On Amazon Pinpoint
Amazon Pinpoint を中心としたカスタマーエンゲージメントの全体像 / Customer Engagement On Amazon Pinpoint
 
AWS Networking – Advanced Concepts and new capabilities | AWS Summit Tel Aviv...
AWS Networking – Advanced Concepts and new capabilities | AWS Summit Tel Aviv...AWS Networking – Advanced Concepts and new capabilities | AWS Summit Tel Aviv...
AWS Networking – Advanced Concepts and new capabilities | AWS Summit Tel Aviv...
 
AWS networking fundamentals
AWS networking fundamentalsAWS networking fundamentals
AWS networking fundamentals
 
AWS Elastic Beanstalk 활용하여 수 분만에 코드 배포하기 (최원근, AWS 솔루션즈 아키텍트) :: AWS DevDay2018
AWS Elastic Beanstalk 활용하여 수 분만에 코드 배포하기 (최원근, AWS 솔루션즈 아키텍트) :: AWS DevDay2018AWS Elastic Beanstalk 활용하여 수 분만에 코드 배포하기 (최원근, AWS 솔루션즈 아키텍트) :: AWS DevDay2018
AWS Elastic Beanstalk 활용하여 수 분만에 코드 배포하기 (최원근, AWS 솔루션즈 아키텍트) :: AWS DevDay2018
 
Automated Solution for Deploying AWS Landing Zone (GPSWS407) - AWS re:Invent ...
Automated Solution for Deploying AWS Landing Zone (GPSWS407) - AWS re:Invent ...Automated Solution for Deploying AWS Landing Zone (GPSWS407) - AWS re:Invent ...
Automated Solution for Deploying AWS Landing Zone (GPSWS407) - AWS re:Invent ...
 
AWS Security Week: AWS Secrets Manager
AWS Security Week: AWS Secrets ManagerAWS Security Week: AWS Secrets Manager
AWS Security Week: AWS Secrets Manager
 
Deep Dive into Amazon ECS & Fargate
Deep Dive into Amazon ECS & FargateDeep Dive into Amazon ECS & Fargate
Deep Dive into Amazon ECS & Fargate
 
AWS Summit Seoul 2023 | Global scale service의 중앙 집중식 Observability 구축
AWS Summit Seoul 2023 | Global scale service의 중앙 집중식 Observability 구축AWS Summit Seoul 2023 | Global scale service의 중앙 집중식 Observability 구축
AWS Summit Seoul 2023 | Global scale service의 중앙 집중식 Observability 구축
 
Introducing AWS Fargate
Introducing AWS FargateIntroducing AWS Fargate
Introducing AWS Fargate
 
VPC Design and New Capabilities for Amazon VPC
VPC Design and New Capabilities for Amazon VPCVPC Design and New Capabilities for Amazon VPC
VPC Design and New Capabilities for Amazon VPC
 
K8s on AWS: Introducing Amazon EKS
K8s on AWS: Introducing Amazon EKSK8s on AWS: Introducing Amazon EKS
K8s on AWS: Introducing Amazon EKS
 
[NEW LAUNCH!] AWS Transit Gateway and Transit VPCs - Reference Architectures ...
[NEW LAUNCH!] AWS Transit Gateway and Transit VPCs - Reference Architectures ...[NEW LAUNCH!] AWS Transit Gateway and Transit VPCs - Reference Architectures ...
[NEW LAUNCH!] AWS Transit Gateway and Transit VPCs - Reference Architectures ...
 
遷移到 AWS 雲端旅程的方法與工具
遷移到 AWS 雲端旅程的方法與工具遷移到 AWS 雲端旅程的方法與工具
遷移到 AWS 雲端旅程的方法與工具
 
AWSome Day Online Conference 2019 - Module 5 AWS Pricing and Support.pdf
AWSome Day Online Conference 2019 - Module 5 AWS Pricing and Support.pdfAWSome Day Online Conference 2019 - Module 5 AWS Pricing and Support.pdf
AWSome Day Online Conference 2019 - Module 5 AWS Pricing and Support.pdf
 
A Serverless Journey: AWS Lambda Under the Hood (SRV409-R1) - AWS re:Invent 2018
A Serverless Journey: AWS Lambda Under the Hood (SRV409-R1) - AWS re:Invent 2018A Serverless Journey: AWS Lambda Under the Hood (SRV409-R1) - AWS re:Invent 2018
A Serverless Journey: AWS Lambda Under the Hood (SRV409-R1) - AWS re:Invent 2018
 
Running Kubernetes on AWS.pdf
Running Kubernetes on AWS.pdfRunning Kubernetes on AWS.pdf
Running Kubernetes on AWS.pdf
 
Deep dive into AWS IAM
Deep dive into AWS IAMDeep dive into AWS IAM
Deep dive into AWS IAM
 
The fundamentals of AWS cloud security - FND209-R - AWS re:Inforce 2019
The fundamentals of AWS cloud security - FND209-R - AWS re:Inforce 2019 The fundamentals of AWS cloud security - FND209-R - AWS re:Inforce 2019
The fundamentals of AWS cloud security - FND209-R - AWS re:Inforce 2019
 
Jump-start your application migration to AWS with CloudEndure - STG305 - New ...
Jump-start your application migration to AWS with CloudEndure - STG305 - New ...Jump-start your application migration to AWS with CloudEndure - STG305 - New ...
Jump-start your application migration to AWS with CloudEndure - STG305 - New ...
 
Setting Up a Landing Zone
Setting Up a Landing ZoneSetting Up a Landing Zone
Setting Up a Landing Zone
 

Similaire à PrivateLink for Partners: Connectivity, Scale, Security (GPSTEC306) - AWS re:Invent 2018

Similaire à PrivateLink for Partners: Connectivity, Scale, Security (GPSTEC306) - AWS re:Invent 2018 (20)

AWS PrivateLink: Fundamentals - SRV211 - Atlanta AWS Summit
AWS PrivateLink: Fundamentals - SRV211 - Atlanta AWS SummitAWS PrivateLink: Fundamentals - SRV211 - Atlanta AWS Summit
AWS PrivateLink: Fundamentals - SRV211 - Atlanta AWS Summit
 
How Vanguard and Bloomberg Use AWS PrivateLink (NET323) - AWS re:Invent 2018
How Vanguard and Bloomberg Use AWS PrivateLink (NET323) - AWS re:Invent 2018How Vanguard and Bloomberg Use AWS PrivateLink (NET323) - AWS re:Invent 2018
How Vanguard and Bloomberg Use AWS PrivateLink (NET323) - AWS re:Invent 2018
 
Plan Advanced AWS Networking Architectures - SRV323 - Chicago AWS Summit
Plan Advanced AWS Networking Architectures - SRV323 - Chicago AWS SummitPlan Advanced AWS Networking Architectures - SRV323 - Chicago AWS Summit
Plan Advanced AWS Networking Architectures - SRV323 - Chicago AWS Summit
 
AWS PrivateLink: Fundamentals - SRV211 - Anaheim AWS Summit
AWS PrivateLink: Fundamentals - SRV211 - Anaheim AWS SummitAWS PrivateLink: Fundamentals - SRV211 - Anaheim AWS Summit
AWS PrivateLink: Fundamentals - SRV211 - Anaheim AWS Summit
 
AWS PrivateLink: Fundamentals - SRV211 - Toronto AWS Summit
AWS PrivateLink: Fundamentals - SRV211 - Toronto AWS SummitAWS PrivateLink: Fundamentals - SRV211 - Toronto AWS Summit
AWS PrivateLink: Fundamentals - SRV211 - Toronto AWS Summit
 
Best Practices for AWS PrivateLink (NET301) - AWS re:Invent 2018
Best Practices for AWS PrivateLink (NET301) - AWS re:Invent 2018Best Practices for AWS PrivateLink (NET301) - AWS re:Invent 2018
Best Practices for AWS PrivateLink (NET301) - AWS re:Invent 2018
 
Best Practices: Building Private Serverless Microservices in your VPC (SRV349...
Best Practices: Building Private Serverless Microservices in your VPC (SRV349...Best Practices: Building Private Serverless Microservices in your VPC (SRV349...
Best Practices: Building Private Serverless Microservices in your VPC (SRV349...
 
Serverless Architectural Patterns and Best Practices (ARC305-R2) - AWS re:Inv...
Serverless Architectural Patterns and Best Practices (ARC305-R2) - AWS re:Inv...Serverless Architectural Patterns and Best Practices (ARC305-R2) - AWS re:Inv...
Serverless Architectural Patterns and Best Practices (ARC305-R2) - AWS re:Inv...
 
運用 AWS Edge Services 作為遊戲行業的關鍵基礎設施元件 (Level 200)
運用 AWS Edge Services 作為遊戲行業的關鍵基礎設施元件 (Level 200)運用 AWS Edge Services 作為遊戲行業的關鍵基礎設施元件 (Level 200)
運用 AWS Edge Services 作為遊戲行業的關鍵基礎設施元件 (Level 200)
 
AWS Security Week: Infrastructure Security- Your Minimum Security Baseline
AWS Security Week: Infrastructure Security- Your Minimum Security BaselineAWS Security Week: Infrastructure Security- Your Minimum Security Baseline
AWS Security Week: Infrastructure Security- Your Minimum Security Baseline
 
How HSBC Uses Serverless to Process Millions of Transactions in Real Time (FS...
How HSBC Uses Serverless to Process Millions of Transactions in Real Time (FS...How HSBC Uses Serverless to Process Millions of Transactions in Real Time (FS...
How HSBC Uses Serverless to Process Millions of Transactions in Real Time (FS...
 
Ensuring Your Windows Server Workloads Are Well-Architected - AWS Online Tech...
Ensuring Your Windows Server Workloads Are Well-Architected - AWS Online Tech...Ensuring Your Windows Server Workloads Are Well-Architected - AWS Online Tech...
Ensuring Your Windows Server Workloads Are Well-Architected - AWS Online Tech...
 
Getting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless Architectures
 
Planificación de arquitecturas de red de AWS - MXO211 - Mexico City Summit
Planificación de arquitecturas de red de AWS - MXO211 - Mexico City SummitPlanificación de arquitecturas de red de AWS - MXO211 - Mexico City Summit
Planificación de arquitecturas de red de AWS - MXO211 - Mexico City Summit
 
Infrastructure Security: Your Minimum Security Baseline
Infrastructure Security: Your Minimum Security BaselineInfrastructure Security: Your Minimum Security Baseline
Infrastructure Security: Your Minimum Security Baseline
 
AWS PrivateLink: Fundamentals - SRV211 - Chicago AWS Summit
AWS PrivateLink: Fundamentals - SRV211 - Chicago AWS SummitAWS PrivateLink: Fundamentals - SRV211 - Chicago AWS Summit
AWS PrivateLink: Fundamentals - SRV211 - Chicago AWS Summit
 
Serverless Development Deep Dive
Serverless Development Deep DiveServerless Development Deep Dive
Serverless Development Deep Dive
 
Serverless use cases with AWS Lambda - More Serverless Event
Serverless use cases with AWS Lambda - More Serverless EventServerless use cases with AWS Lambda - More Serverless Event
Serverless use cases with AWS Lambda - More Serverless Event
 
Using AWS Lambda as a Security Team (SEC322-R1) - AWS re:Invent 2018
Using AWS Lambda as a Security Team (SEC322-R1) - AWS re:Invent 2018Using AWS Lambda as a Security Team (SEC322-R1) - AWS re:Invent 2018
Using AWS Lambda as a Security Team (SEC322-R1) - AWS re:Invent 2018
 
Infrastructure Security: Your Minimum Security Baseline
Infrastructure Security: Your Minimum Security BaselineInfrastructure Security: Your Minimum Security Baseline
Infrastructure Security: Your Minimum Security Baseline
 

Plus de Amazon Web Services

Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
Amazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
Amazon Web Services
 

Plus de Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

PrivateLink for Partners: Connectivity, Scale, Security (GPSTEC306) - AWS re:Invent 2018

  • 1.
  • 2. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Laura Caicedo Partner Solutions Architect AWS G P S T E C 3 0 6 Nick Matthews Principal Solutions Architect AWS PrivateLink for Partners: Connectivity, Scale, Security Laura Caicedo Partner Solutions Architect AWS Nick Matthews Principal Solutions Architect AWS Jonathan Sander Security Field CTO Snowflake Computing Paul Barber Managing Director, Product Architecture Airlines Reporting Corporate (ARC)
  • 3. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Agenda • What is PrivateLink • Benefits • Architecture • Deployment types • Architecture design options • Snowflake use case
  • 4. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 5. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Problem … $
  • 6. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. IGW EIP or Public DNS Sharing a service without AWS PrivateLink
  • 7. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Route table maintenance Sharing a service without AWS PrivateLink: Peering 10.10.0.0/16 -> pcx-xxxxxx 172.31.0.0/16 -> pcx-xxxxxx
  • 8. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Sharing a service without AWS PrivateLink: Peering 10.10.0.0/16 -> pcx-xxxxxx 192.168.0.0/16 -> pcx-xxxxxx 10.10.0.0/16 -> pcx-xxxxxx ???
  • 9. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. VPC Endpoint Private IP 10.10.1.6 NLB Endpoint Service Sharing a service with AWS PrivateLink
  • 10. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 11. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Benefits of AWS PrivateLink Secure your traffic Simplify network management Accelerate hybrid cloud migration Scalability
  • 12. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Endpoint Service Service name: com.amazonaws… One-way access Security group for the endpoint Private IP Support for overlapping addresses PrivateLink benefits: Security and management NLB VPC Endpoint Private IP
  • 13. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. PrivateLink benefits: Scalability & hybrid cloud Share to thousands of VPCs Grow your business Hybrid cloud adoption Endpoint Service Service name: com.amazonaws… NLB VPC Endpoint VPC Endpoint
  • 14. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 15. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Network load balancer • Connection-based load balancing • Built-in health checks • High throughput • Low latency • Preserve source IP address • Static IP and elastic IP support • Load balancing using IP addresses as targets • Fully fault-tolerant AZ-3AZ-2 AWS Region Elastic load balancing AZ-1 Web Web Web Web Web Web
  • 16. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. NLB Endpoint Service Service name: com.amazonaws… vpce-svc-02d91882a635HAPPY • Whitelist principals • Accept endpoint connections • Notifications Set up PrivateLink for providers
  • 17. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 18. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. • Virtual networking card • Has a private IP in the address range of your subnet • Can be owned by you or managed by an AWS service • Apply security groups to an elastic network interface Elastic network interfaces
  • 19. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Accessing AWS services from your VPC Gateway VPC endpoints for AWS Interface VPC endpoints for AWS
  • 20. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon S3 and your VPC Amazon S3 bucket Internet VPC Endpoint Route S3-bound traffic to the VPC endpoint • No IGW • No NAT • No public IPs • Robust access control • Free
  • 21. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Interface VPC endpoints
  • 22. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Interface VPC endpoints
  • 23. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Interface endpoint service available • Amazon API Gateway • AWS CloudFormation • Amazon CloudWatch • Amazon CloudWatch Events • Amazon CloudWatch Logs • AWS CodeBuild • AWS Config • Amazon EC2 API • Elastic Load Balancing API • AWS Key Management Service • Amazon Kinesis Data Streams • Amazon SageMaker Runtime • AWS Secrets Manager • AWS Security Token Service • AWS Service Catalog • Amazon SNS • AWS Systems Manager • Endpoint services hosted by other AWS accounts • Supported AWS Marketplace partner services https://docs.aws.amazon.com/vpc/latest/userguide/vpce-interface.html
  • 24. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. vpce-svc- 0..635HAPPY Setting up PrivateLink for consumers VPC Endpoint vpce-….ec2.eu-west-1.vpce.amazonaws.com vpce-…eu-west-1a.ec2.eu-west-1.vpce.amazonaws.com vpce-…eu-west-1b.ec2.eu-west-1.vpce.amazonaws.com SaaS Service • Endpoint DNS names are created: • 1 regional FQDN for the endpoint • 1 or more zonal FQDNs for each Availability Zone Security groups CNAME api.example.com --> ALIAS vpce-xxxx.vpce- svc-xxxx.eu-west- 1.vpce.amazonaws.com VPC Endpoint • Notifications • If PrivateDNS enable:
  • 25. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Packet walkthrough (1/2) – DNS 1. If Private DNS is enabled, requests endpoint resolution from Route 53—private hosted zone 2. Consumer forwards to the local IP 10.0.1.6 from source IP 10.0.1.8 3. Traffic is sent to the service endpoint Client looks for service api.example.com (Alias) Amazon Route 53 Private hosted zone 10.10.1.8 ENI’s endpoint forwards traffic to the provider 10.10.1.6 SaaS consumer account
  • 26. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Packet walkthrough (2/2) – NAT 4. NLB does source NAT 1. Source 10.0.1.8 translated to Source 172.31.1.60 5. App replies to 172.31.1.60 6. NLB changes the source back to 10.10.1.6 Source NAT SaaS consumer account Amazon Route 53 Private hosted zone 10.10.1.810.10.1.6 I am receiving traffic from 172.31.1.60
  • 27. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 28. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. PrivateLink deployment types SaaS • Silo • Bridge • Pool Within an organization • Marketplace offers • Internal environments • Managed service providers
  • 29. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. NLB Endpoint Service Service name: com.amazonaws… VPC Endpoint Private IP - 10.10.1.6 SaaS deployment types: Silo • Expose custom addresses to customers • Expose only what’s needed • Provider management can be shared • Onboarding • Management • Operations • Billing NLB Endpoint Service Service name: com.amazonaws… VPC Endpoint Private IP - 10.10.2.6
  • 30. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. SaaS deployment types: Pool • Elasticity and agility of a shared infrastructure footprint • Custom addresses per customer with one set of infrastructure • Management, deployment, and operation are easier • One or more load balancer per shared service • API • Front-end • Resource NLB Endpoint Service Service name: com.amazonaws… VPC Endpoint Private IP - 10.10.1.6 VPC Endpoint Private IP - 10.10.2.6 VPC Endpoint Private IP - 10.10.1.6
  • 31. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. NLB Endpoint Service Service name: com.amazonaws… SaaS deployment types: Bridge • Hybrid between pool and silo • Different service names NLB Endpoint Service Service name: com.amazonaws… VPC Endpoint Private IP - 10.10.1.6 VPC Endpoint Private IP - 10.10.2.6 VPC Endpoint Private IP - 10.10.1.6
  • 32. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS SaaS Marketplace • Easily create secure endpoints • No public IP address • Curated SaaS products • Discoverability of the services when customers purchase SaaS on AWS Marketplace
  • 33. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Marketplace: DNS Vanity vpce-svc-1a2b3c4d.us-east-1.vpce.amazonaws.com Service Base DNS Name Service ID Region Sub Domain vpce-12345.vpce-svc-1a2b3c4d.us-east-1.vpce.amazonaws.com Endpoints DNS Name on Client Side VPC Endpoint ID vpce-67890.vpce-svc-1a2b3c4d.us-west-1.vpce.amazonaws.com us-east-1.vpce.myexample.com Service Vanity DNS Name Region Sub Domain vpce-12345.us-east-1.vpce.myexample.com Endpoints DNS Name on Client Side VPC Endpoint ID vpce-67890.us-west-1.vpce.myexample.com
  • 34. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Internal environments NLB Endpoint Service Service name: com.amazonaws… VPC Endpoint Private IP - 10.10.1.6 VPC Endpoint Private IP – 172.31.1.6
  • 35. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 36. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Reference architecture NLB Dedicated On-premises Endpoint VPCProvider SaaS VPC Customer VPC AWS Direct Connect Location (Anywhere) Direct Connect Gateway Service Customer chosen Availability Zones CIDR: Defined by customer On-premises Service NLB placed in every Availability Zone A api.example.com 10.x.x.x 10.x.x.y api.example.com CIDR: Provider chosen range Customer chosen Availability Zones Route 53 Private Hosted Zone CNAME api.example.com --> ALIAS vpce-xxxx.vpce-svc- xxxx.us-east-2.vpce.amazonaws.com WANVPC Endpoint VPC Endpoint VPC Endpoint VPC Endpoint DNS Server Forward api.example.com to AWS DNS OR Customer Gateway VPN
  • 37. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Connectivity options from on-premises Load Balancer Endpoint Service Service name: com.amazonaws… VPC Endpoint Private IP - 10.10.1.6
  • 38. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 39. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Source IP address visibility: proxy protocol The Proxy Protocol header includes private IP of the consumer and the ID of the endpoint. Type-Length-Value (TLV) vector: I am receiving traffic from 172.31.1.60, Proxy Protocol Header has source IP 10.0.1.8 Source IP 10.0.1.8 Proxy Protocol V2 Field Length (in octets) Description Type 1 PP2_TYPE_AWS (0xEA) Length 2 The length of value (0x01) Placeholder 1 PP2_SUBTYPE_AW S_VPCE_ID SaaS consumer account 172.31.1.60 VPC Endpoint
  • 40. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Application Cross-region peering us-east-1 eu-west-1 PrivateLink and cross-region peering : IP load balancing How do you handle global connectivity? • AWS PrivateLink now supports access over Inter-Region VPC Peering IP as a target VPC Endpoint VPC Endpoint
  • 41. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. PrivateLink and cross-region peering: Remote endpoints NLB VPC Endpoint Cross-region Peering us-east-1 eu-west-1 VPC Endpoint
  • 42. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. SSL offloading
  • 43. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Resource-based PrivateLink • Can it be load balanced? • Database • Logging service • Enterprise application Solutions • Use one NLB per resource • Use a single NLB using different listening ports • 10.1.1.100:8081 • 10.1.1.100:8082
  • 44. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Services that initiate new connections to clients Provider services that need to initiate connections or have bidirectional connections • Use VPC peering or a two-way PrivateLink design VPC Endpoint VPC Endpoint
  • 45. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 46. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Snowflake: The data warehouse built for the cloud
  • 47. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 48. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS VPN Connection Give your VPN authorized access to services on AWS AWS Direct Connect Give your on-premises resource access to services on AWS How Snowflake integrates with PrivateLink Each customer is uniquely configured with an NLB in their region PrivateLink is often a piece of a larger private comms requirement VPC endpoint Create an interface VPC endpoint Network load balancer Connect the endpoint to the network load balancer of the service of your choice JDBC/ODBC, programs, snowsql Customer Other systems on customer resources Amazon EC2 Instance
  • 49. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 50. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Some quick background … $88.5 billion in ticket transactions 287 million passenger trips World’s most comprehensive air ticket transaction data www.arccorp.com
  • 51. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. An easy choice … Data security is always top of mind. No negative impact in how our products perform. Implemented in a day.
  • 52. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Sharing is simple …
  • 53. Thank you! © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Laura Caicedo, lauracai@amazon.com Nick Matthews, nickmatt@amazon.com
  • 54. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.