AWS for Backend Developers (EC2, S3, RDS, Lambda) · Ders

VPC Uç Noktaları ve Özel Bağlantı

VPC uç noktaları, PrivateLink ve NAT ağ geçitlerini kullanarak genel internetten geçmeden AWS hizmetlerine özel olarak nasıl bağlanacağınızı öğrenin.

4. ders / 413 adım

VPC Uç Noktaları ve Özel Bağlantı, CoddyKit'te ücretsiz bir AWS for Backend Developers (EC2, S3, RDS, Lambda) dersidir. Bu, 4 dersinin 4. dersidir. Aşağıdan dersin tamamını ücretsiz okuyabilir, sonra tarayıcıda yerleşik kod editörü ve 7/24 yapay zeka koçu ile uygulamalı olarak pratik yapabilirsin. Bu, AWS for Backend Developers (EC2, S3, RDS, Lambda) öğrenme yolunun bir parçasıdır ve ilerlemeniz web ve CoddyKit uygulaması arasında senkronize olur. AWS for Backend Developers (EC2, S3, RDS, Lambda) kursu toplamda 4 dersten oluşur.

Bu dersin bazı bölümleri henüz çevrilmemiş olup İngilizce olarak gösterilmektedir.

The Problem with Public Traffic

By default, resources in a private subnet reach AWS services like S3 over the public internet via a NAT gateway. That adds cost, latency, and exposure.

VPC endpoints let traffic stay inside the AWS network.

Two Kinds of Endpoints

AWS offers two endpoint types:

  • Gateway endpoints — for S3 and DynamoDB (route table based, free)
  • Interface endpoints — for most other services (an ENI in your subnet, powered by PrivateLink)

Gateway Endpoint for S3

A gateway endpoint adds a route to your route table so S3 traffic never leaves AWS. There is no extra hourly charge.

aws ec2 create-vpc-endpoint \
  --vpc-id vpc-123 \
  --service-name com.amazonaws.us-east-1.s3 \
  --route-table-ids rtb-456

Interface Endpoints and PrivateLink

An interface endpoint creates an elastic network interface with a private IP in your subnet. It is built on AWS PrivateLink.

Use it for services like SQS, SNS, Secrets Manager, and your own services.

aws ec2 create-vpc-endpoint \
  --vpc-id vpc-123 \
  --vpc-endpoint-type Interface \
  --service-name com.amazonaws.us-east-1.secretsmanager \
  --subnet-ids subnet-789

Endpoint Policies

You can attach a policy to an endpoint to restrict which actions and resources are allowed through it. This adds a layer of access control beyond IAM.

NAT Gateways Recap

A NAT gateway lets private subnet instances make outbound internet calls (e.g. to download packages) while blocking inbound connections.

Endpoints reduce, but do not always eliminate, the need for NAT.

DNS Resolution for Endpoints

Interface endpoints support private DNS. When enabled, the standard service hostname (e.g. secretsmanager.us-east-1.amazonaws.com) resolves to the private endpoint IP automatically.

Security Groups on Endpoints

Interface endpoints have an ENI, so they use security groups. Allow inbound HTTPS (port 443) from the resources that need the endpoint.

Cross-VPC Connectivity

PrivateLink also lets you expose your own service to other VPCs or even other AWS accounts without VPC peering, by publishing an endpoint service.

Cost and Security Benefits

Using endpoints:

  • Keeps traffic off the public internet
  • Reduces NAT gateway data processing charges
  • Lets you apply fine-grained endpoint policies

Choosing the Right Endpoint

Decision guide:

  • Connecting to S3 or DynamoDB → gateway endpoint
  • Connecting to any other AWS service → interface endpoint
  • Outbound internet to non-AWS hosts → NAT gateway

Quick Check

Test your connectivity knowledge.

Recap

You learned about private connectivity:

  • Gateway endpoints for S3 and DynamoDB
  • Interface endpoints / PrivateLink for other services
  • NAT gateways for general outbound internet
  • Endpoint policies and security groups control access

Endpoints keep traffic private, cheaper, and more secure.

Başlamak ücretsiz

Yapay zeka eğitmeniyle AWS for Backend Developers (EC2, S3, RDS, Lambda) öğren — ücretsiz

Tarayıcında gerçek kod yaz ve çalıştır, 7/24 yapay zeka eğitmeninden anında yardım al; web'de ya da uygulamada kaldığın yerden devam et.

Kurslar
12
Dersler
48

Sıkça Sorulan Sorular

“VPC Uç Noktaları ve Özel Bağlantı” dersi ücretsiz mi?

Evet — “VPC Uç Noktaları ve Özel Bağlantı” dersin tüm metni burada web'de ücretsiz olarak okunabilir. Etkileşimli olarak pratik yapmak (yerleşik kod editörü ve 7/24 yapay zeka koçu) ve AWS for Backend Developers (EC2, S3, RDS, Lambda) kursunun geri kalanını açmak için CoddyKit PRO'ya yükselt. AWS for Backend Developers (EC2, S3, RDS, Lambda) kursu toplamda 4 dersten oluşur.

“VPC Uç Noktaları ve Özel Bağlantı” dersinde ne öğreneceğim?

VPC uç noktaları, PrivateLink ve NAT ağ geçitlerini kullanarak genel internetten geçmeden AWS hizmetlerine özel olarak nasıl bağlanacağınızı öğrenin. AWS for Backend Developers (EC2, S3, RDS, Lambda) ile uygulamalı kodu tarayıcıda doğrudan çalıştırarak pratik yaparsın ve 7/24 yapay zeka koçu dersi çalışırken sorularını yanıtlar.

AWS for Backend Developers (EC2, S3, RDS, Lambda) öğrenmeye başlamak için deneyim gerekli mi?

Önceden deneyim gerekmez. CoddyKit'te AWS for Backend Developers (EC2, S3, RDS, Lambda), başlangıçtan ileri seviyeye kadar yapılandırıldığı için buradan başlayabilir veya başından başlayıp kendi hızında ilerleme yapabilirsin. Bu, 4 dersinin 4. dersidir.

“VPC Uç Noktaları ve Özel Bağlantı” dersi ne kadar sürer?

Çoğu CoddyKit dersi yaklaşık 5–10 dakika sürer. Her biri kısa ve etkileşimli olduğu için sabit ilerleme yaparsın ve web ile uygulama arasında tam olarak bıraktığın yerden devam edebilirsin.

Bu AWS for Backend Developers (EC2, S3, RDS, Lambda) dersinde kod yazıp çalıştırabilir miyim?

Evet. Her AWS for Backend Developers (EC2, S3, RDS, Lambda) dersi yerleşik bir kod editörü içerir, bu sayede tarayıcıda gerçek kod yazıp çalıştırabilir ve anlık yapay zeka geri bildirimi alırsın — yerel kurulum gerekli değildir.

Bu kursun tüm dersleri

  1. VPC, Alt Ağlar ve Yönlendirme Tabloları
  2. Güvenlik Grupları ve NACL'ler
  3. IAM Rolleri ve Politikaları
  4. VPC Uç Noktaları ve Özel Bağlantı
← AWS for Backend Developers (EC2, S3, RDS, Lambda) Sayfasına Dön