Download - Aws, an intro to startups
Generic Web Solution
Domain Nameg2g.co Go-Daddy.com
Host it! Again GoDaddy.com!
Deploy your App C-Panel
Deploy your DB C-Panel
Deploy Static Files C-Panel/FTP
DNS & Web Server
IIS / Apache
DB ServerMySQL/??
Storage
Domain Nameg2g.co Go-Daddy.com
Host IT
Deploy your App
Deploy Static Files
DNS
Storage
Deploy your DB
Pros & Cons
Generic Hosting• Simple / Easy
– start & Use– Cost Calculation – Configuration– Administration
• Pain– Scale as you grow– Add more– Handle Failures
AWS Hosting• Complex
– To start & Use– Understand Cost– Administer / Configure
• Benefits– Scale as you grow– Ease Add / Remove– Handle Failures – Ready for future
• EC2 A computer given to you with full access, but located at AWS Data Centre
• Like your computer it comes in different CPU types, memory, hard disk options.
• It comes pre-loaded with an OS, you get to pick the OS you need.
• Work on the EC2 Instance like you work on a remote server with full access (Login using SSH/RDP)
Other components with EC2AMI Amazon Machine Image
EBS Elastic Block Storage (Network Drive)
Elastic Ip IP Address for your machine
Security group Network Firewall (Not M/C)
CloudWatch Performance Numbers
ELB Elastic Load balancing Takes multiple requests on internet and transfers then to different servers & Vise-Versa for the responses
What Can I do with Ec2
• Install, configure and execute any software of your choice.– Web Server, File Server, DB Server, CRM, etc – Backend Video Post Processing, Audio Post
Processing, Data Analysis – Email Server, FTP Server etc
So what it costs me?• It costs per every hour of usage
– Start an instance and the $$$ clock starts – Stop an instance the $$$ clock stops– Re-start an instance the $$$ clock start again– Terminate the instance the $$$ clock stops
• There are three Rate Slabs in EC2– Spot instance (AWS can take it back any time! Costs you super
low rate per hour)– On Demand instance (Will never be taken back till you give it
back! Comes with a price)– Reserved instance (Pay upfront and commit to use it in 12
months. Similar to On-Deman but per hour rates are lower)
• S3 Network Storage Device Located in AWS Datacentre.
• You can access it using an URL like any network device.
• Store files, static web sites, images, videos, CSS, etc.• Dump logs• CloudFront S3*Many! • CloudFront is the Content Delivery Network that
delivers S3 Data to various caching servers around the globe for faster access in that region.
What Can I do with S3
• Use it as your Static Web Site Hosting Provide.• Use it along with CloudFront for faster delivery
of static content.• Use it for archiving data for safe storage
(Highly reliable)• Provide Conditional access like Protected
Profile info
So what it costs me?
• S3 is charged based on the amount of data you store and the amount of data you transfer in/out
• CloudFront is charged on the amount of data you transfer in/out.
Workshop
• Let us quickly create S3 Buckets and put content in it.
• Let us also put static web site in it
• RDS C-Panel kind of MySQL Data Base Server.
• RDS Also support MSSQL, Oracle Servers• Advanced capabilities of RDS are
– Support for Multi ZONE (Scale up)– Support for AutoBack up and restore– Reliable DB Option
So what it costs me?
• RDS comes in different configurtions like EC2– Based on the server configuration you pay– Based on the DB Option you pay– Based on the Multi Zone Support (One live Server
and one Standby Server), you pay.
Route53 DNS
ELBg2g.co
PiWik & CRM
S3 Redirect CloudFront
CDN
g2g.coIIS 7.5
Master MYSQL
Slave MYSQL
Memcached
What is best for me! AWS or GoDaddy?
What is your business?
What is the clarity you have?
How is your Tech Stack?
Scale of Web Site?