So There’s This Amazon Thing

891 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
891
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Azure Virtual Machines seems like a direct attempt to challenge EC2Note about Amazon Linux – has all of the Amazon tooling out of the box which is convenient. Uses Yum and is based on Red Hat Enterprise
  • The pricing varies on a lot of these (like SQL server) depend on whether you bring your own license (BYOL) or pay for your license hourly. We’ll look at this in more detail.Also, with EC2 you can get instances of database servers to administer yourself, but you also have the option of using the RDS service which we’ll talk about later.
  • Micros are a special animal in that you don’t get dedicated CPU access.
  • As an example, here’s what you get with SQL server. It’s quite a bit more expensive because you don’t buy a server. A large is 97 cents an hour here vs 46 cents with just Windows. It seems to work out to about 50 cents an hour for the SQL license and the rest for EC2.A year of a large server works out to about $8500.There are a ton of different pricing charts on the Amazon site so we won’t go through every single case here.
  • In theory you build an application package, upload it, and then MagicIn practice, it kind of stinks
  • Elastic Beanstalk is going to create one (or more) EC2 instances, give them storage, set up a load balancer and then run your app. You’ll be charged for all the individual pieces. You can later stop using Elastic Beanstalk and manage this stuff yourself.
  • It’s friendly enough. Nothing special.
  • A pretty decent DNS host even for non AWS things.
  • Grandaddy of cloud storageAll access basically happens via HTTP or HTTPS RESTful commands
  • Note: Other parts of the application can read and write from S3, but if you setup EBS volumes you can only mount those to one machine at a time
  • Not having a SQL license here seems to cost about 3 cents per hourA large SQL server this way costs around $5200 this way vs $8500 earlier for a full IaaS VM
  • Dynamo is comparable to Azure Table Storage
  • I think this makes it relatively expensive compared to Azure Table Storage
  • So There’s This Amazon Thing

    1. 1. So There‟s This AmazonThingJared Faris@jaredthenerdjaredthenerd.comjfaris@gmail.com
    2. 2. Amazon Web Services (AWS)In 2004 an Amazon engineer suggested their internalinfrastructure could be turned into a service.That year the first product, Simple Queue Service waslaunched.In 2006 the AWS officially launched. http://en.wikipedia.org/wiki/Amazon_Web_Services
    3. 3. TopicsApplication HostingStorageDatabasesNetworkingOther Stuff
    4. 4. ApplicationHosting
    5. 5. IaaS or PaaSTwo basic ways to host applications on Amazon Elastic Compute Cloud – Infrastructure as a Service (IaaS) Elastic Beanstalk – Platform as a Service (PaaS)EC2 is the traditional AWS technology with Beanstalkbeing relatively new.Elastic Beanstalk seems like Amazon‟s response toservices like Heroku and Azure‟s worker roles
    6. 6. EC2 – Elastic Compute CloudInfrastructure as a Service – VMs in the cloudVariety of operating system choices: Amazon Linux AMI Ubuntu Red Hat Windows Server 2003/2008/2012Tons of preconfigured AMIs (Amazon Machine Image)available
    7. 7. A Note About PricesAmazon charges for everything: the storage on disk, CPUtime, data transfer, etc.Data transfer is billed at a pretty standard rate throughoutAWS.Everything else seems to be billed based on EC2instance costs plus a service charge.
    8. 8. EC2 AMIsDatabases Business Intelligence MS SQL Server SAP Oracle JasperReports MongoApplication Servers Others WebSphere WordPress Tomcat Drupal IIS Licensing Options
    9. 9. EC2 ContinuedLeased access to “EC2 Compute Units” or ECUs.An “ECU” is roughly a 1.0 GHz 2007 Opteron or Xeon.Various sizes are available that give increased CPU,memory and local storage. Some examples: Micro – 642MB of memory, “small” amount of CPU Large – 8GB of memory, 4 “EC2 Compute Units”
    10. 10. EC2 Pricing
    11. 11. EC2 SQL Server
    12. 12. Elastic BeanstalkSimilar in concept to services like Windows Azure CloudServices or Heroku.A number of technologies are supported: .NET (Windows Server 2008 R2 w/ IIS 7.5) Java (Amazon Linux w/ Tomcat) PHP/Ruby/Python (Amazon Linux)
    13. 13. Under the Beanstalk
    14. 14. Deploying to EB.NET deployments use the AWS Toolkit for Visual Studio.PHP/Ruby/Python sort of kind of supports git publishing.Java developers upload a WAR file through themanagement console.
    15. 15. Network
    16. 16. Route 53This is Amazon‟s high availability DNS service.A must have if you are hosting your app in AWS.
    17. 17. ELB – Elastic Load BalancingAmazon‟s answer to load balancing.You assign IP addresses (and probably domain names)to an ELB and point it at a group of EC2 instances.Supports sticky connections or truly dynamic requests.
    18. 18. Private CloudVPC – Virtual Private Direct ConnectCloudCustomized AWS network DC is a hardware connectiontopology. from AWS to your data center. AWS instances ultimately useYour application is still on your local network connectiontheir shared servers but the to get out.network is totally isolated. $.30/hour for 1Gbps $2.25/hour for 10Gbps$.05 per VPN connectionhour to the VPC.
    19. 19. CloudFrontCloudFront is Amazon‟s CDN offering.Can tie to data in S3 or EC2 instances.
    20. 20. Example SetupMultiple EC2 instances with loadbalancing
    21. 21. DNSResolution Internet EC2 Instances Security Group
    22. 22. Storage
    23. 23. S3 – Simple Storage ServiceBLOBs – Binary Large ObjectsWrites are sent to three locations before considered„finished‟.Can sustain losing any two locations.Supports versioning.
    24. 24. More OptionsRRS – Reduced Glacier – Long TermRedundancyS3 with less redundancy. Can Archival storage: Notlose one location without accessible day to day like S3losing data. or RRS.Recommended forreproducible things likethumbnails or transcodedmedia.
    25. 25. Storage Pricing
    26. 26. StorageExamplesA couple different ways to store data
    27. 27. Direct writes to S3 of big dataAnother Machine EC2 Instance An EBS volume with RAID 10
    28. 28. Databases
    29. 29. RDS – Relational DatabaseServiceAmazon manages instances of MySQL, Oracle or SQLServer.Basically PaaS SQL databases vs IaaS virtual machines.Sits on top of EC2, adds a service cost and, optionally,licensing costs.
    30. 30. SQL Server Standard BYOL
    31. 31. SQL Server Standard w/oLicense
    32. 32. DynamoDBAmazon‟s preferred NoSQL document store (replacingSimpleDB).Runs entirely on SSDs and has no upper storage limit.You reserve CPU capacity (so they have enoughmachines to support your queries) but it auto-scales afterthat.
    33. 33. Dynamo Pricing
    34. 34. Redshift (beta)Amazon‟s new petabyte-scale data warehousing tool.Priced per node with all nodes in a cluster you access asone repository.
    35. 35. ElastiCacheAmazon‟s Memcached compliant data caching service.Setup multiple “nodes” in a cluster that are accessiblefrom your application.
    36. 36. Messaging &Notifications
    37. 37. SQS - Simple QueuingServicesA polling based queuing service that you can use to tietogether various pieces of your application.Supports messages up to 64KB.Supports locking of messages and handlesdeleting/expiring.
    38. 38. SNS – Simple NotificationServicePublish/Subscribe messaging between parts of yourapplication.Non-persistent (unlike Queues).Can be used with SQS to eliminate polling. When newitems are on the queue your application is notified.
    39. 39. SNS Pricing
    40. 40. Other StuffElastic Transcoder – Media transcoding as a serviceCloudSearch – Managed search service that you can tieto your dataSimple Email Service – Managed email (think Sendgrid)CloudWatch – A management portal where you cancustomize AWS metrics to monitor and get charged permetric

    ×