AWS (Amazon Web Services)
Ankara Cloud Meetup
Hakkımda
teknik yazılarım medium.com/@odayibasi
Onur Dayıbaşı
2002 mezun oldum
şirketlerinde çalıştım.
AWS hakkındaki teknik yazılarım awsturkiye.com
Murat ÖZPALA
Amazon Web Service
Bulut Hizmetidir Iaas, PaaS, SaaS2006
Amazon Web Service
Neden AWS Öğrenelim ?
En Hızlı Büyüyen Bulut Servisi
En Çok Yere Yayılmış Bulut Hizmeti
12 Region ve 32 Availability Zone
Deneyim ve Bilgi
• Security
• High Availability
• Scalability
• Fault Tolerant
Buluş ve İnnovasyon İçin
• Bir çok deney yapma kabiliyeti
• Deneylerinizin başarısız olması durumunda zarar görmeyeceğinizin
garantili olması
Andy Jassy SVP AWS
Amazon Web Service
www.cs.com.tr
AWS Platformu
www.cs.com.tr
AWS Platformu
AWS Global Infrastructure
Networking
Compute Storage Databases
Analytics Security And Identity Management Tools
Application Services Developer Tools Mobile Services
Enterprise Applications Internet Of Things
AWS Global Infrastructure
AWS Global Infrastructure
Networking
Compute Storage Databases
Analytics Security And Identity Management Tools
Application Services Developer Tools Mobile Services
Enterprise Applications Internet Of Things
Edge Locations
AWS Global Infrastructure
AWS Global Infrastructure
Regions
Availability Zones
Availability Zone
www.cs.com.tr
Basitçe DataCenter diyebiliriz.
Özellikler
• 50.000 - 80.000 arası sunucu
Availability Zone
• Region’da birden fazla bulunur
• Availability Zone’lar arası fiber optik
Özellikler
• 25Tbps Bant genişliği
• 2 ms veri iletim süresi
• Servisler High Available ve Fault-Tolerant
Edge Locations
Son kullanıcıya daha yakın
• CDN (Content Delivery Network)
Özellikler
• Route53 (Domain Name Service)
• 50’den fazla Edge Location bulunuyor
Regions
Data Center’ların gruplandığı bölgelerdir
Seçim
• Yakınlık
• Yasal Gereklilikler
• Genişleme Stratejisi
• Fiyat
• Sağlanan Servisler
Networking
AWS Global Infrastructure
Networking
Compute Storage Databases
Analytics Security And Identity Management Tools
Application Services Developer Tools Mobile Services
Enterprise Applications Internet Of Things
Networking
Networking
VPC
Route53
Direct Connect
Route53
Compute
AWS Global Infrastructure
Networking
Compute Storage Databases
Analytics Security And Identity Management Tools
Application Services Developer Tools Mobile Services
Enterprise Applications Internet Of Things
Compute
Compute
EC2
EC2 Container Service
Elastic Beanstalk
Lambda
EC2
• Çok hızlı şekilde ölçeklenebilir. İşlemci gücü büyütülüp/küçültülebilir.
• Autoscale
• ELB, Elastic IP
• CloudWatch
• Bulut’taki sanal sunucu hizmetidir.
• Dakikalar içinde istediğiniz işletim sistemi ile ayaklandırılır.
• AMI
• Instance Type (T2, M3, M4, C3,C4, R3,G2, I2,D2)
• Storage (Instance/EBS)
• Security Group
• Kullandığın kadar öde mantığı.
• Free Tier
• On Demand
• Reserved
• Spot
EC2
Lambda
• Bulut’taki istek ve event doğrultusunda çalıştırılan serverless fonksiyon
çalıştırma hizmetidir.
• Tetiklenmesi bazı AWS Servislerinin Eventleri ile Gerçekleştirilir.
• S3
• Kinesis
• API Gateway
• DynamoDB
• CloudWatch Log
• iOT
• Desteklediği Diller
• Node.js, Java, Python
Lambda Kullanımı
Altyapı Yönetmenize Gerek Yok
• Sadece business mantıklarınıza odaklanın
• Code’unuzu Lambda upload edin yeterli :)
• Capacity
• Scaling
• Deployment
• Fault Tolerance
• Monitoring
• Logging
• Web Service Front End
• Security Patching
Lambda
Lambda
CAP
• Sonraki Konularda Veri Depolama ve Veritabanı Servislerini anlatacağımızdan
öncelikle CAP teoremine bir bakalım
CAP
Storage
AWS Global Infrastructure
Networking
Compute Storage Databases
Analytics Security And Identity Management Tools
Application Services Developer Tools Mobile Services
Enterprise Applications Internet Of Things
Storage
Storage
S3
Cloud Front
Glacier
EFS
Storage Gateway
Snowball
S3
• Simple Storage Servis Object Storage’dır.
• 1byte - 5TB arasındaki dosyaları tutar.
EBS S3
• Web’den HTTP/HTTPS erişimi mevcut
• Web Varlıkları, Backup ve Snapshot
• HTML, CSS, JS
• IMG
• VIDEO
• MUSIC
• PDF
• Yer sınırlandırması yok istediğiniz kadar dosya atabilirsiniz.
S3
• Durability(Dayanıklılık) - 99.999999999%, 100 milyar dosyada 1
dosya kaybolabilir
• Availability(Erişilebilirlik) - 99.9%, 1000 request/istekden 1 istek
fail edebilir
• Consistency(Tutarlılık) -
• Creation (Read after write consistency)
• Update (Eventually consistent)
• Delete (Eventually consistent)
S3
S3 Katmanları/Sınıfları
• IA (Infrequently Access) - Az erişiyorsan ama hızlı erişim
ihtiyacınız varsa daha az ücret ödeme imkanı
• Reduced Redundancy Storage : Veriyi tekrar
oluşturabiliyorsanız . Durability %99.99 düşer.
• Glacier : Arşivlenmiş veriniz. 3,4 saat sonra erişsenizde
sorun yok ise. Bu durum çok çok daha ucuz.
• Standart : Default hızlı erişim ve sürekli erişime göre
ayarlanmıştır.
CloudFront(CDN)
S3
CDN
Databases
AWS Global Infrastructure
Networking
Compute Storage Databases
Analytics Security And Identity Management Tools
Application Services Developer Tools Mobile Services
Enterprise Applications Internet Of Things
Databases
Databases
RDS
DynamoDB
Elastic Cache
Redshift
SimpleDB
DMS
RDS
• Rational Database Service (Online Transaction Processing)
• MSSQL
• MySQL
• PostgreSQL
• Oracle
• Aurora
• MariaDB
• Backup, Snapshot, Replica
RDS
RDS - (MultiAZ)
1 2
3
Analytics
AWS Global Infrastructure
Networking
Compute Storage Databases
Analytics Security And Identity Management Tools
Application Services Developer Tools Mobile Services
Enterprise Applications Internet Of Things
Analytics
Analytics
EMR
Elastic Search
Kinesis
Machine Learning
Quick Sight
Data Pipeline
• Sürekli sisteme eklenen akan verinin verimli şekilde
indekslenmesi
• Tüm alanlar için
• Belirli alanların kombinasyonları
• Datayı Analiz Etme
• Metin Arama
• Tokenising (Kelime Sınırları/ Patternleri Bulma)
• Stemming
• Filtering
• Lokasyonların Anlaşılması
• İlgi Skorlama
Elastic Search
Elastic Search
+
RESTfull Service
High Availability and Performance
Long Term Persistency
AWS ile Yakın Gerçek Zamanlı Keşif Platformu Oluşturma
Security And Identity
AWS Global Infrastructure
Networking
Compute Storage Databases
Analytics Security And Identity Management Tools
Application Services Developer Tools Mobile Services
Enterprise Applications Internet Of Things
KMS
Cloud HSM
WAF
Security And Identity
Security And Identity
IAM
Directory Service
IAM (Users)
IAM (Policies)
IAM (Roles)
IAM (Groups)
Service - Role İlişkisi
Management Tools
AWS Global Infrastructure
Networking
Compute Storage Databases
Analytics Security And Identity Management Tools
Application Services Developer Tools Mobile Services
Enterprise Applications Internet Of Things
Management Tools
Management Tools
Cloud Watch Opworks
Config
Service Catalog
Cloud Formation
Cloud Trailer
Cloud Watch
Cloud Watch
Cloud Watch
Cloud Trailer
Application Services
AWS Global Infrastructure
Networking
Compute Storage Databases
Analytics Security And Identity Management Tools
Application Services Developer Tools Mobile Services
Enterprise Applications Internet Of Things
Application Services
Application Services
API Gateway
AppStream
Cloud Search
Elastic Transcoder
SES
SQS
SWF
API Gateway
SES
Define Domain
Sending Mail Metric
Receiving Mail Rule
SQS
Developer Tools
AWS Global Infrastructure
Networking
Compute Storage Databases
Analytics Security And Identity Management Tools
Application Services Developer Tools Mobile Services
Enterprise Applications Internet Of Things
Developer Tools
Developer Tools
Code Commit
Code Deploy
Code Pipeline
Mobile Services
AWS Global Infrastructure
Networking
Compute Storage Databases
Analytics Security And Identity Management Tools
Application Services Developer Tools Mobile Services
Enterprise Applications Internet Of Things
SNS
Mobile Analytics
Device Farm
Mobile Services
Mobile Services
Mobile Hub
Cognito
Mobile Hub
SNS
SNS
Device Farm
Enterprise Applications
AWS Global Infrastructure
Networking
Compute Storage Databases
Analytics Security And Identity Management Tools
Application Services Developer Tools Mobile Services
Enterprise Applications Internet Of Things
Enterprise Applications
Enterprise Applications
Workspace
WorkMail
Workdocs
WorkMail
Internet of Things
AWS Global Infrastructure
Networking
Compute Storage Databases
Analytics Security And Identity Management Tools
Application Services Developer Tools Mobile Services
Enterprise Applications Internet Of Things
Internet Of Things
Internet Of Things
iOT
Simple Drone Servis

Introduction to Amazon Web Services