Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introducción a Amazon Web Services (AWS)

Introducción a Amazon Web Services (AWS)

🔎 Haremos un recorrido por varios de los servicios más populares de esta plataforma, incluyendo casos de uso. Encontrarás formas de facilitar y potencializar tus proyectos. EC2, RDS, IAM, SNS, SQS y S3 ya no serán solo siglas que escuchaste alguna vez. Veremos también Lambda, Athena y DynamoDB.

Python Pereira

September 07, 2019
Tweet

More Decks by Python Pereira

Other Decks in Technology

Transcript

  1. About me • Computer and Systems Engineer, UTP • Student

    of Master in CS, AI Branch • Software Developer 6 years • Using AWS for almost 3 years
  2. Elastic Compute Cloud, EC2 Web service that provides secure, resizable

    compute capacity in the cloud. It is designed to make web-scale cloud computing easier for developers. • Elastic web-scale computing • Completely controlled • Flexible cloud hosting services • Integrated • Reliable (SLA 99.99%) • Secure • Inexpensive • Easy to start • Used by: Netflix, Airbnb, Expedia
  3. EC2 Tips • Know your requirements • Start small •

    Know the prices: https://www.ec2instances.info/ • Reserve if possible (up to 75% save) • Use Spot fleets (up to 10% save) • Turn off when unused: see https://app.skeddly.com • Use linux • Build horizontally scalable apps
  4. Compute: Lambda Lets you run code without provisioning or managing

    servers. You pay only for the compute time you consume - there is no charge when your code is not running. • No servers to manage • Continuous scaling • Subsecond metering (charged for every 100ms) • Triggers • Use cases: ETL, Real-time stream processing, Data processing in general • Used by The CocaCola Company • Tip: check costs ($0.20 per 1M requests + memory usage)
  5. Storage: Simple Storage Service (S3) and Glacier Object storage service

    • Industry-leading performance, scalability, availability, and durability (11 9's) • Wide range of cost-effective storage classes • Unmatched security, compliance, and audit capabilities • Management tools for granular data control • Query-in-place services for analytics (Athena, Redshift Spectrum, S3 Select) • Most supported cloud storage service • Tip: Use Glacier for infrequently accessed objects
  6. Storage: Elastic Block Store (EBS) Easy to use, high performance

    block storage service designed for use with Amazon Elastic Compute Cloud (EC2) • Performance for any workload • Easy to use • Highly available and durable (5 9's) • Virtually unlimited scale • Secure • Cost-effective (4 types: 2 SSD, 2 HDD) • Tips: Start small, use snapshots if necessary, add volumes when necessary
  7. Analytics: Athena, ES Service, CloudSearch • Athena: Serverless and interactive

    query service that makes it easy to analyze data in Amazon S3 using standard SQL. (Supports CSV, JSON, ORC, Avro, and Parquet). • Elasticsearch Service: Fully managed service that makes it easy for you to deploy, secure, and operate Elasticsearch at scale with zero down time. • CloudSearch: Managed service in the AWS Cloud that makes it simple and cost-effective to set up, manage, and scale a search solution for your website or application • Great comparison here: https://cloudacademy.com/blog/elasticsearch-vs-cloudsearch/
  8. Application Integration: SQS Simple Queue Service: Fully managed message queuing

    service that enables you to decouple and scale microservices, distributed systems, and serverless applications. • Eliminate administrative overhead • Reliably deliver messages • Keep sensitive data secure • Scale elastically and cost-effectively • FIFO option • Used by NASA, BMW
  9. SQS Tips Keep in mind limitations: • Max retention period:

    14 days • Max num messages on flight: 120000 • Max visibility timeout: 12h • Max message size: 256kb Know the costs
  10. Application Integration: SNS Simple Notification Service: Highly available, durable, secure,

    fully managed pub/sub messaging service that enables you to decouple microservices, distributed systems, and serverless applications • Reliably deliver messages with durability • Automatically scale your workload • Simplify your architecture with Message Filtering • Keep messages private and secure
  11. Application Integration: MQ Managed message broker service for Apache ActiveMQ

    that makes it easy to set up and operate message brokers in the cloud. • Fully managed • Easy migration (supports JMS, NMS, AMQP, STOMP, MQTT) • Available and durable • Low latency
  12. Database: RDS, DynamoDB, RedShift • RDS (Relational Database Service) makes

    it easy to set up, operate, and scale a relational database in the cloud. Supports Aurora, PostgreSQL, MySQL, MariaDb, Oracle, SQL Server. (Used by Netflix, Expedia, Illumina) • DynamoDB: Key-value and document database that delivers single-digit millisecond performance at any scale. (Used by Snapchat, Netflix, Lyft) • RedShift: Fully managed, petabyte-scale data warehouse service in the cloud. (Used by lyft, McDonalds, Dowjones)
  13. Machine Learning • Translate: Neural machine translation service that delivers

    fast, high-quality, and affordable language translation. • Rekognition: Easily add intelligent image and video analysis to your applications. • Transcribe: Automatic speech recognition (ASR) service that makes it easy for developers to add speech-to-text capability to their applications
  14. Management & Governance • VPC (Virtual Private Cloud): Provision a

    logically isolated section of the Amazon Web Services (AWS) Cloud where you can launch AWS resources in a virtual network that you define. • Route 53: Highly available and scalable cloud Domain Name System (DNS) web service. • ELB (Elastic Load Balancing): Automatically distributes incoming application traffic across multiple targets, such as Amazon EC2 instances, containers, IP addresses, and Lambda functions.
  15. Management & Governance • IAM (Identity and Access Management): Securely

    manage access to AWS services and resources. • CloudWatch: Observability of your AWS resources and applications on AWS and on-premises. • Auto Scaling: Monitors your applications and automatically adjusts capacity to maintain steady, predictable performance at the lowest possible cost. (Available for EC2, DynamoDB and Aurora)
  16. ¿Questions? • If availability is a concern, should I use

    AWS? ◦ Absolutely, you will hardly guarantee the same availability. You should also use back ups / snapshots, etc depending on your needs. • How much do certifications cost? ◦ The Cloud Practitioner exam is 100 USD. Associate-level exams are 150 USD. Professional-level and Specialty exams are 300 USD.