AWS: Core Real-World Functions

AWS Foundations: Getting Started with AWS

by Jeremy Cioara

Start your 7-day free trial today.

This video is only available to subscribers.

A free trial includes:

  • Unlimited 24/7 access to our entire IT training video library.
  • Ability to train on the go with our mobile website and iOS/Android apps.
  • Note-taking, bookmarking, speed control, and closed captioning features.

Amazon Web Services: AWS Foundations - Getting the Most from this Series

AWS Foundations: How to Build a Cloud Presence

AWS Foundations: Getting Started with AWS

00:00:00 - Let's kick the tires and go for a ride.
00:00:02 - Getting started with Amazon Web Services.
00:00:05 - When I got started, many, many moons ago, it was from an email
00:00:08 - forward that somebody sent me.
00:00:10 - And they said, check it out.
00:00:11 - I went in, created an account and looked around.
00:00:13 - I go, wow, this is a lot of stuff.
00:00:17 - And I closed it.
00:00:18 - You know, not even like, wow, that's
00:00:20 - a big something or another.
00:00:22 - But I didn't really explore and understand what it was.
00:00:25 - If somebody would have been there tell me, hey Jeremy,
00:00:29 - guess what you can do with this, and put
00:00:30 - all these pieces together.
00:00:32 - There are so many decisions that I would have made differently
00:00:36 - in all the history leading up to where we are now.
00:00:39 - Wow I could have saved a fortune--
00:00:42 - it's all those vision is 20-20 in hindsight,
00:00:45 - right-- that I would have said wow,
00:00:46 - there's so much more I could have done.
00:00:48 - So that's what I want to do for you here.
00:00:50 - I want to talk about what you need
00:00:50 - to get started-- which is actually
00:00:52 - a little more than you may think.
00:00:54 - Understanding Amazon Web Services services--
00:00:57 - what are the core services?
00:00:59 - And this is what I would really say is the meat of this Nugget,
00:01:02 - to say, here's what you can do with AWS.
00:01:04 - And then I really want to answer the question,
00:01:06 - can I do all this for free?
00:01:07 - I mean, do I have to pay anything
00:01:09 - to get started, really?
00:01:11 - So the short answer to that is yes.
00:01:13 - You can do a lot of this stuff for free.
00:01:15 - You can sign up for an account for free.
00:01:18 - You can really step right into this.
00:01:19 - But I'm going to talk a lot about what's available for free
00:01:22 - at the very end.
00:01:23 - Because I want you to understand the services before we
00:01:25 - say what's available for free.
00:01:26 - So number one when you get started with AWS, what you need
00:01:29 - is a purpose.
00:01:31 - Meaning, understanding AWS is one thing, which is great.
00:01:34 - It's neat to be able to see the services that are there.
00:01:38 - But one of the things that I know--
00:01:40 - let me give you this perspective.
00:01:42 - I have taught Cisco technology for years and years.
00:01:45 - And Microsoft technology, and Novell technology.
00:01:47 - I'm a technologist guy, I just love technology.
00:01:50 - So I've taught all these things and I
00:01:53 - get people to learn Cisco.
00:01:54 - And I'm talking about, oh, this is what a router and a switch
00:01:57 - does.
00:01:57 - And a lot of times, I've talked to people who have gone out
00:01:59 - and bought all this lab equipment for their home
00:02:01 - to try this stuff out, to learn it
00:02:03 - but they buy it without a vision.
00:02:05 - And they have piles of equipment sitting at their house
00:02:08 - to test it out, and they look at it every day just collecting
00:02:11 - dust, going I don't know what I want to do with that.
00:02:16 - And so it's a little more of a commitment
00:02:18 - to do that in the Cisco because you have to buy all the gear,
00:02:21 - but it's the same feeling with Amazon Web Services.
00:02:23 - You can sign up for account and walk into it,
00:02:26 - and you'll stare at all the tabs and all of the capabilities,
00:02:28 - and you'll go, wow, here I am.
00:02:31 - So, throughout this series, please hang with me.
00:02:35 - I want to envision you with purposes.
00:02:37 - I'm going to create a series of case studies
00:02:39 - throughout this series of, OK, let's say you want to do this.
00:02:42 - And somebody wants to create a website,
00:02:43 - or somebody wants a backup service off-site,
00:02:45 - and all these kind of scenarios.
00:02:47 - So I can get your mind going to go,
00:02:49 - oh OK, I can see why I would use that.
00:02:52 - Technology for the sake of technology is worthless.
00:02:54 - You have to have a purpose.
00:02:56 - So what's your mission, what's your goal--
00:02:58 - have a good definition before you start.
00:03:01 - Second off, you need to have some login information.
00:03:03 - So you're going to go website-- and this
00:03:05 - is what I want to just prepare you for.
00:03:06 - I mean, it's easy to do.
00:03:07 - You go, you say I want an account.
00:03:09 - By the way the address is-- let me just bring it up.
00:03:14 - Shoot my browser over here.
00:03:16 - The address is just a aws.amazon.com.
00:03:23 - And sure enough, right there, it's hey, this is AWS.
00:03:26 - Sign up now.
00:03:27 - This is where you go.
00:03:28 - Create an account for free, only pay for what you use.
00:03:30 - And it comes in and this is where
00:03:32 - you go ahead and create your account.
00:03:33 - Now I've already created account.
00:03:35 - And what I did was take some snapshots
00:03:37 - as it was going through that.
00:03:39 - Because there's a couple things that may take you off
00:03:41 - guard if you're not ready for them.
00:03:42 - So this is, when you sign up for an account,
00:03:44 - the first thing it's going to bounce off of you is hey,
00:03:47 - what kind of account information do you want.
00:03:49 - What's your name, what's your company about, the normal stuff
00:03:52 - that you would expect when you agree to an account.
00:03:55 - The second thing-- and this is the big thing--
00:03:58 - the second thing it's going to ask you for
00:04:00 - is your credit card number.
00:04:03 - This will cause a lot of people go whoa Nellie, whoa, hey.
00:04:07 - I'm careful, you're careful, everybody's
00:04:09 - careful with where they're putting their credit
00:04:11 - card online because they go, I don't want to get charged.
00:04:13 - Well, if you think about it, Amazon
00:04:15 - is really thinking ahead when they're doing this.
00:04:18 - If they don't require you to put some--
00:04:20 - and I'll say this loosely, but-- put some skin in the game,
00:04:22 - to where it's like, I'm putting something into this,
00:04:26 - Amazon would end up with billions of accounts of people
00:04:29 - just creating them on a whim.
00:04:31 - Signing up for free services, or just hey,
00:04:33 - let's just create 50 accounts.
00:04:35 - That kind of thing.
00:04:36 - With no commitment at all.
00:04:38 - Amazon would just have a user database
00:04:39 - of billions of users, which I'm sure they already
00:04:41 - have enough of them already.
00:04:43 - So they do require you to put in a credit card number.
00:04:46 - They're not going to charge it.
00:04:48 - I think they authorize-- I think they tell you,
00:04:51 - we're going to authorize a $1 charge.
00:04:53 - Meaning, not charge you, but just send
00:04:54 - through an authorization to make sure it's a valid credit
00:04:56 - card that can be used.
00:04:59 - And then this is the next thing that may surprise you.
00:05:01 - That after you put in the credit card,
00:05:03 - they're going to verify your identity by phone.
00:05:05 - Now this is pretty sweet.
00:05:06 - When I did this, I was like hey, this is not too shabby.
00:05:09 - And I sorry, I love you, but I had
00:05:12 - to cross my telephone number out on there.
00:05:14 - Yeah.
00:05:16 - I don't give that out.
00:05:17 - So I put my telephone number in there.
00:05:19 - You can even put in an extension number, which I did it
00:05:21 - because I have a certain extension at my office.
00:05:23 - And they dial you up and they say
00:05:26 - please type in the pin number that you see online.
00:05:29 - You type it in, they go OK we've now verified your account.
00:05:32 - So think of this coming into it.
00:05:34 - There's really three verifications
00:05:36 - that are happening here.
00:05:37 - One, they're going to check your email address.
00:05:39 - They're going to send you verification email.
00:05:40 - Actually that comes at the end.
00:05:42 - But they will.
00:05:42 - They're going to ask for a credit card,
00:05:44 - and verify that the credit card is valid.
00:05:46 - And they're going to ask for a phone number.
00:05:48 - And they're actually going to call you
00:05:49 - there and ask for the pin number.
00:05:51 - It's really cool, because you type in the pin number,
00:05:53 - and as you do your web page refreshes.
00:05:56 - They must be using some amazing technology,
00:05:58 - like Amazon Web Services or something to run that.
00:06:00 - But they verify all three things.
00:06:03 - So I want you to go into that eyes wide open.
00:06:06 - It's free to create an account, but you can't just
00:06:08 - go in and make stuff up.
00:06:10 - You know, like we all do on all the websites.
00:06:12 - Like use some spam email address, no credit-- they do
00:06:15 - require some commitment even though they're not
00:06:17 - going to charge you.
00:06:18 - So, what else do you need?
00:06:21 - You need an understanding of the services.
00:06:24 - Which that's going to be the bulk of it.
00:06:26 - That's where the next slide, I'm gonna spend most of my time
00:06:28 - here.
00:06:29 - And then you're going to need to start
00:06:31 - working in the AWS Management Console.
00:06:33 - That's what this looks like over here.
00:06:35 - This is kind of your dashboard for managing
00:06:37 - every service in here.
00:06:38 - Like right up at the top, you can see some of the services
00:06:41 - that I have.
00:06:42 - There's Elastic Beanstalk, S3, EC2, Virtual Private Cloud,
00:06:46 - all these different services that we're
00:06:48 - going to be discussing in just a moment.
00:06:49 - But this is how you access all of those services from a GUI.
00:06:54 - It's not the only way to access it,
00:06:55 - but I'll say initially this is your primary point of access.
00:07:00 - Are you ready?
00:07:01 - Let's get into the meat of this Nugget,
00:07:03 - which is the AWS services, or what
00:07:05 - I would call the core services.
00:07:07 - Stuff that everybody needs to at least
00:07:10 - to know about and know of its existence to get
00:07:12 - started with AWS.
00:07:14 - I'm going to start in no particular order, other
00:07:16 - than this is where most people start first-- EC2.
00:07:19 - EC2-- and if you're a purist, you're going,
00:07:22 - they should have called it ECC2.
00:07:23 - Yeah, I thought that too.
00:07:24 - But they called it EC2.
00:07:26 - Elastic Compute Cloud is where you
00:07:28 - generate your virtual servers in the cloud.
00:07:31 - So when I say, I want an Ubuntu server accessible from anywhere
00:07:34 - in the world, or a Windows 2008 R2 server, blah, blah, blah.
00:07:39 - I would go straight to EC2, and generate
00:07:42 - what Amazon calls an instance.
00:07:44 - An actual virtual server running,
00:07:46 - accessible from anywhere in the world.
00:07:48 - That's all it is.
00:07:49 - Now, let's move into the next service,
00:07:51 - because the next logical question will be,
00:07:54 - well where does that server store its data?
00:07:57 - This is actually gets to a bigger discussion.
00:08:00 - Amazon started everything with Simple Storage Service,
00:08:06 - or what they call it S3.
00:08:08 - S3 is a very redundant set of storage.
00:08:12 - Meaning, it's going to be replicated
00:08:13 - to at least two destinations.
00:08:15 - So when I store something-- let's say this is,
00:08:17 - you define what's called an S3 bucket.
00:08:19 - This is just a storage area that's dedicated to you.
00:08:23 - And I start putting some files in there.
00:08:25 - I am guaranteed that that's going to be stored,
00:08:27 - not only on one set of hard drives-- one set of servers--
00:08:30 - but at least two of them.
00:08:31 - As in, as I write data to the S3 bucket-- store data in the S3
00:08:36 - bucket-- it's fantastic because it's actually writing it
00:08:39 - to at least two places at once.
00:08:42 - So let's call this storage destination one and storage
00:08:44 - destination two.
00:08:45 - And it won't return a success on my storage request
00:08:49 - until it's written to both places.
00:08:52 - OK, so here's what that means.
00:08:53 - Let's say I've got an-- let's just go crazy-- an MP3 music
00:08:57 - collection that I want to put in the cloud.
00:08:59 - So I'm going to copy it to S3.
00:09:00 - And I've got BonJovi.mp3.
00:09:05 - As I copy that file into the S3 bucket,
00:09:08 - it's actually saving that file in two separate locations,
00:09:11 - and the file is not considered a successful copy--
00:09:14 - as in whatever utility I'm using to copy that file to the S3
00:09:18 - bucket-- is not considered successful
00:09:21 - until both locations say, yup I've got it.
00:09:24 - Oh, the amount of redundancy, the amount
00:09:26 - of warm fuzzy feeling that that should give you is massive.
00:09:30 - But, S3, because of that, is a little slow.
00:09:34 - At least when you compare that to modern hard drives
00:09:40 - and RAID technology, and all the kind of set.
00:09:42 - So let me show you how it all started.
00:09:44 - With Amazon, originally they only had EC2 and S3 storage.
00:09:49 - So you would create what would be
00:09:50 - called your instance, or AMI.
00:09:54 - And that would be stored in your S3 bucket.
00:09:57 - That is the actual image that your server users.
00:10:01 - So let's say you've got a Windows 2008 R2 image which
00:10:05 - acts as a remote desktop server.
00:10:08 - So somebody can remote desktop and get
00:10:10 - kind of a virtual desktop up there,
00:10:12 - or fill in whatever use that server is, right.
00:10:14 - So you store the actual images of it there,
00:10:17 - but it doesn't run from there.
00:10:19 - It doesn't run from the S3 bucket,
00:10:21 - because S3 is pretty slow when doing write operations and so
00:10:25 - on because of its amount of redundancy.
00:10:27 - So when you would launch that image,
00:10:29 - Amazon would actually copy that instance
00:10:33 - from the S3 bucket to what they call ephemeral storage.
00:10:38 - That's right, not even listed on this page is ephemeral storage.
00:10:42 - Because in your mind, think of it as like,
00:10:44 - this doesn't really exist.
00:10:47 - Well it does, kind of, but let me explain.
00:10:49 - See, when you've got this image sitting in S3 storage-- again
00:10:52 - very redundant, very stable storage,
00:10:54 - but slow when compared running a server off of it.
00:10:58 - They say, well we can't run a server from there.
00:11:00 - So let's actually copy it to the physical server that's
00:11:03 - running this virtual instance.
00:11:06 - Whew, there's a lot of stuff that just came in there.
00:11:09 - So let me simplify.
00:11:10 - You've got the bucket, S3, right?
00:11:12 - That's where your actual image of your server is stored.
00:11:15 - But we can't run it from there, so it's really slow.
00:11:17 - So what I do is I copy it to the actual physical server--
00:11:22 - or servers-- that are running my instance.
00:11:25 - And they're going to store it locally
00:11:27 - on whatever their hard drives are.
00:11:28 - We'll just think of it as-- it could
00:11:30 - be a RAID 5, who knows what it is.
00:11:32 - It's something that's very fast.
00:11:34 - It's actually running straight on that server.
00:11:36 - But now here's the big thing to think about.
00:11:38 - Ephemeral storage, while it's quick, it's ninja fast,
00:11:42 - it's not permanent.
00:11:43 - As soon-- hear me, let's put this in slow motion.
00:11:47 - I know some of you put this on like double or triple speed
00:11:49 - when you're listening to me.
00:11:50 - Pull back, stop, go slow motion for this,
00:11:52 - because we want slow motion.
00:11:54 - If you store something in ephemeral storage
00:11:57 - and you shut down that machine, it's gone.
00:12:01 - As in, everything's gone That was in there.
00:12:04 - So let's say I created a Windows 2008 R2 RDS server,
00:12:10 - and I made that run.
00:12:12 - It's now running as an instance on my actual physical server
00:12:16 - over here.
00:12:16 - People are remote desktoping in.
00:12:18 - Somebody goes in and opens a Microsoft Word doc, types hello
00:12:21 - world, and saves that to their desktop.
00:12:24 - Which is literally their desktop is stored on that server.
00:12:26 - And then all of the sudden I go, well you
00:12:28 - know what, I think I'm done.
00:12:29 - I'm going to go in and shut this server down just for a couple
00:12:33 - days because I don't need that server.
00:12:35 - As soon as I shut that server down, bam,
00:12:38 - it is deleted from the ephemeral storage.
00:12:42 - And now it's back to its original image--
00:12:45 - the AMI image that's stored-- I mean the original template
00:12:48 - that I created that from in the S3 bucket.
00:12:51 - Oh.
00:12:53 - So there's no permanent storage in the ephemeral storage
00:12:56 - itself.
00:12:57 - And that's actually how Amazon started this whole thing.
00:13:01 - There was no alternative, which I'm
00:13:03 - going to talk about in just a second-- elastic blocks.
00:13:05 - Or there was no alternative storage location.
00:13:07 - As in, you had to really think this through.
00:13:10 - When you're running a server up here in ephemeral storage,
00:13:13 - it better be storing anything useful back to S3.
00:13:16 - It better be writing stuff to S3,
00:13:18 - because otherwise when you shut that server down, it's gone.
00:13:21 - Let's go back to what I mentioned
00:13:23 - in the previous Nugget.
00:13:24 - That horizontal scaling, right.
00:13:26 - Amazon really is all about creating
00:13:28 - these little workhorses which are disposable.
00:13:30 - Bring up instances as you need them, and then shut them down
00:13:33 - and they are no more.
00:13:34 - They don't exist, because they write all of their data
00:13:36 - to this more permanent storage.
00:13:38 - Well you can imagine.
00:13:40 - This bring it up and then proof its gone idea
00:13:44 - just didn't work for a lot of people.
00:13:46 - They go, I need something a little more permanent.
00:13:50 - But I need something a little faster than S3.
00:13:52 - And that's where Amazon came up with Elastic Block Store.
00:13:57 - OK, let me clear those notes off.
00:13:58 - Just getting a little too much there.
00:14:00 - So Elastic Block Store-- EBS-- is a more permanent storage
00:14:05 - location that operates faster than S3 for you
00:14:08 - to save your machine so when you shut them down not
00:14:10 - everything is lost.
00:14:12 - OK, so hang on.
00:14:14 - Let's regroup.
00:14:15 - Let's put these-- because we've talk about three storage
00:14:17 - locations for your hard drives.
00:14:19 - Let's put it all together, right.
00:14:20 - You've got your instance-- your virtual machine
00:14:22 - that you want to run.
00:14:24 - S3 is used when you when initially you
00:14:26 - start that virtual machine.
00:14:28 - That's where the image resides.
00:14:30 - The beauty of S3 is in its stability.
00:14:34 - It's extremely stable.
00:14:36 - 99.99999% redundancy.
00:14:38 - Like, you're not going to lose data out there.
00:14:40 - Well, excuse me.
00:14:41 - Let me back up.
00:14:43 - I'm not saying don't back up your data.
00:14:46 - I'm never saying that, so never misquote me on that.
00:14:49 - But when you're in S3, there's a 0.00001% chance kind of thing
00:14:54 - that you would ever lose data from S3,
00:14:56 - because it's so stable, it's so redundant.
00:14:59 - But the sacrifice that you get when you use that
00:15:02 - is that it's slow.
00:15:03 - Just because of the way that it's designed.
00:15:05 - But that's where it always starts from.
00:15:06 - You've got your image-- it's called your AMI-- stored on S3.
00:15:10 - That's the actual hard drive image for this.
00:15:13 - And when you boot up that machine, when
00:15:15 - you create a virtual machine from that AMI, from that image,
00:15:19 - you choose whether you want to store it
00:15:22 - in one of the other two locations.
00:15:23 - Which is the ephemeral,
00:15:27 - E-P-H-E-M-E-R-A-L. So someday I'm going to write,
00:15:34 - and it's going to go bloop, squiggly red underline,
00:15:36 - you can't spell it that way.
00:15:37 - But I'm assuming, I think that's correct-- ephemeral storage.
00:15:40 - Which means it actually takes that AMI
00:15:42 - from S3-- slow storage-- and moves it
00:15:45 - to the physical server.
00:15:47 - There's a physical server somewhere
00:15:49 - with very fast storage locally on that server.
00:15:53 - It copies it right into that server and runs it from there.
00:15:56 - Beautiful because this is ninja speed.
00:16:00 - It's super fast, but what's the problem?
00:16:03 - You shut but down that instance that's running, it's deleted.
00:16:07 - Meaning lose data.
00:16:12 - See now my own spelling is haunting me.
00:16:15 - Is that loose?
00:16:15 - That's loose, right?
00:16:16 - Loose.
00:16:17 - L-O-S-E. Lose data when you shut down that machine from
00:16:22 - ephemeral storage, and it's gone.
00:16:24 - Or you could choose to run it in EBS.
00:16:29 - Elastic Block Storage, this guy right here.
00:16:32 - Which is just a small group of servers
00:16:35 - that will give you-- and let me put that right here-- EBS
00:16:38 - gives you decent performance.
00:16:43 - Now, everything that I'm saying as I'm
00:16:46 - creating this in the middle of 2012.
00:16:49 - So there's always going to be performance improvements.
00:16:52 - It's always going to get better, faster, cheaper, that kind
00:16:54 - of thing.
00:16:55 - But it's going to give you decent--
00:16:56 - and when I mean decent, if I could quantify
00:16:58 - that-- it's like your home PC.
00:17:00 - You're running it storage on your home PC, which
00:17:03 - runs on a single hard drive, that kind of thing.
00:17:05 - Now it's more redundant than a single hard drive.
00:17:07 - It's better.
00:17:08 - It is redundant.
00:17:08 - But it's not as redundant as S3.
00:17:10 - That's why it's not as slow.
00:17:12 - So, decent performance.
00:17:14 - And it's not lost-- let me put not
00:17:16 - lost-- when you shut down the machine.
00:17:18 - And you pay for it.
00:17:21 - Ephemeral storage, oh yeah, by the way, it's free.
00:17:24 - Well, it's included with the cost
00:17:27 - of what you pay for that virtual machine per hour.
00:17:29 - Because it's running on that server.
00:17:31 - You're not paying extra for storage.
00:17:32 - When you store it on EBS, Amazon has
00:17:35 - to maintain that instance when you're done,
00:17:37 - when you shut down that machine.
00:17:38 - So you're going to pay money for that storage.
00:17:40 - Just kind of like S3 storage.
00:17:41 - You pay money for how much you store in S3.
00:17:45 - Is this, is this all kind of-- do
00:17:47 - you see how storage differences work for this?
00:17:50 - Oh man, I should just stop right there.
00:17:52 - That's such a huge concept that I want you just pause and chew
00:17:57 - on that for a little while.
00:17:58 - OK, did you chew on it?
00:18:00 - Good.
00:18:01 - So that's how all this fits together.
00:18:04 - Now, there's so much more I could say about S3.
00:18:06 - S3's huge.
00:18:07 - You can host websites from it.
00:18:10 - A lot more to talk about, but this is just
00:18:12 - an overview of the services.
00:18:13 - That's what it is-- just a big old redundant, stable, slow
00:18:18 - storage spot.
00:18:19 - And again, everything's relative, right?
00:18:21 - It's not slow like, wow, that's slow.
00:18:23 - So let's move on, let's see, what's the next one.
00:18:25 - I would say next, let me go with CloudWatch.
00:18:29 - CloudWatch is a service allowing you
00:18:31 - to monitor all of this stuff.
00:18:34 - There's a lot of different free flavors of CloudWatch,
00:18:36 - to where I can say, once every five minutes I
00:18:39 - want to know how much storage is remaining,
00:18:41 - how much processor utilization I'm running,
00:18:43 - what's my memory usage.
00:18:44 - All that kind of thing.
00:18:45 - It monitors all this for you.
00:18:48 - Now, a lot of companies, a lot of organizations,
00:18:51 - are going to say, well, I want a little more
00:18:52 - frequent monitoring.
00:18:54 - I want if my storage goes below x percentage for even a second,
00:18:59 - I want to know about that.
00:19:01 - So they start tuning the timers down.
00:19:05 - The lower you tune your timers-- like how often it's
00:19:07 - checking for those values-- the more
00:19:09 - you're paying for CloudWatch.
00:19:11 - So again, there's a free tier, which is good monitoring.
00:19:14 - But if you want to start getting to aggressive monitoring
00:19:17 - to where its phenomenal monitoring,
00:19:19 - that's where you're going to pay a little bit more.
00:19:21 - Let's talk about databases.
00:19:23 - Amazon includes database services.
00:19:25 - They have a simple database.
00:19:27 - Which, and I would say, this is my prediction--
00:19:31 - maybe by the time you hear, this it doesn't exist anymore.
00:19:34 - Simple database services is designed
00:19:37 - to be relatively small.
00:19:41 - Kind of a slower access.
00:19:44 - Meaning you're not really getting super fast access,
00:19:47 - you're not getting a lot of storage out of there,
00:19:49 - but it's very, very low cost, and very simple to set up.
00:19:53 - The reason I'm predicting that maybe it's
00:19:55 - not even there by the time you hear this,
00:19:56 - is because it seems like it's starting
00:19:58 - to disappear from a lot of the documentation.
00:20:00 - That tells me, OK, writing's on the wall.
00:20:02 - Maybe Amazon is saying, I don't think we want that anymore.
00:20:05 - So DynamoDB is very scalable.
00:20:10 - I mean we can be huge.
00:20:12 - Doesn't have limits on the amount of data
00:20:13 - you can store in there.
00:20:14 - You can pay more to guarantee the performance.
00:20:16 - So you can get ninja speed out there.
00:20:18 - It stores a lot of the storage on solid state disks.
00:20:21 - So when I say ninja speed, I'm talking really fast.
00:20:24 - It's a great database service.
00:20:26 - But again of course, any time you're talking super ninja
00:20:28 - speed, you're talking about paying a little bit more.
00:20:31 - OK.
00:20:31 - Let me clear off my notes again, and I'd
00:20:34 - like to fill in what we've completed so far, just so I
00:20:37 - don't get redundant what I'm saying.
00:20:38 - We talked about CloudWatch, we talked
00:20:40 - about SimpleDB, DynamoDB, EC2, we
00:20:42 - talked about Simple Storage, Elastic Block Service.
00:20:45 - Ephemeral storage, which I didn't
00:20:46 - list because it's not really a service,
00:20:48 - it just kind of happens.
00:20:49 - That's how the instance is run.
00:20:52 - So now let's talk about Route 53.
00:20:54 - What is Route 53?
00:20:56 - DNS.
00:20:57 - That's so you can create name records for your domain.
00:21:00 - So Amazon will host those and allow you.
00:21:03 - So let's say I create CBTNuggets.com
00:21:11 - That is a domain, and I can host that.
00:21:14 - I can point it to Route 53 to manage all of the DNS records
00:21:17 - for it.
00:21:18 - So that allows me to create www.CBTNuggets.com,
00:21:23 - which goes to XYZ location.
00:21:25 - It allows me to create maybe S3.CBTNuggets
00:21:28 - that goes to another server, another location.
00:21:31 - So I can create all these different DNS records.
00:21:33 - And there's a lot to DNS.
00:21:34 - But Route 53 is just straight on DNS.
00:21:39 - Virtual Private Cloud.
00:21:40 - Whew, this one's killer.
00:21:42 - Virtual Private Cloud allows you to control the networking
00:21:46 - very closely of how EC2 works.
00:21:49 - So when you create instances, Amazon
00:21:51 - is so brilliant in how they design it.
00:21:53 - Because they configure all the networking for you.
00:21:56 - They set up a firewall, they give your server an IP address,
00:22:00 - they map it to a public IP address.
00:22:01 - I mean, there's usually a lot an administrator has
00:22:04 - to think about when they're doing that.
00:22:06 - Well Amazon does it all for you.
00:22:10 - They set up the firewall, they set up the routing,
00:22:12 - they set up all the IP addressing.
00:22:13 - But for some admins, they might go ah,
00:22:17 - it's a little too auto magic for me.
00:22:18 - I want control.
00:22:19 - I want to control what IP addresses I use for my servers.
00:22:22 - I don't want Amazon to do that for me.
00:22:24 - I want to control what public IP address is
00:22:26 - mapped to what private IP addresses.
00:22:28 - And then, the big one.
00:22:30 - I want to be able to create a site-to-site VPN
00:22:34 - to the servers operating in the cloud.
00:22:37 - This is huge.
00:22:38 - So this gives you control of the networking.
00:22:40 - But here's, I would say, the biggest piece of this all.
00:22:42 - Up here is Amazon-- AWS-- services.
00:22:46 - Down here is your organization.
00:22:49 - You may say, I want a site-to-site VPN.
00:22:52 - A permanent connection that is private,
00:22:55 - encrypted from the servers and the clients
00:22:58 - running in my businesses.
00:23:00 - That they would be able to access those servers
00:23:02 - from behind the scenes.
00:23:04 - And I mean, you've got the rest of the world coming
00:23:06 - in from up here, which is all firewalled off.
00:23:08 - This is my little world right here.
00:23:09 - The whole world is coming in from right here,
00:23:10 - all firewalled off and restricted and all that.
00:23:12 - You could create a site-to-site VPN
00:23:14 - from your business up to the servers at Amazon Web Services.
00:23:18 - So you can have full private access to those servers.
00:23:21 - However much access you want to define.
00:23:23 - So you can host services that way.
00:23:25 - That really makes Amazon Web Services feel like you own it.
00:23:30 - This is mine.
00:23:31 - I have full access to it.
00:23:33 - I have full control over all of these services.
00:23:36 - And is fully accessible to where my business literally
00:23:39 - merges with the servers that exist up here.
00:23:42 - That's what virtual private cloud is all about.
00:23:44 - Man, that's powerful.
00:23:46 - OK, Auto Scaling Auto Scaling is a service
00:23:50 - that allows Amazon to add instances for you
00:23:53 - and take them away as you need them.
00:23:56 - So you can define certain thresholds.
00:23:58 - Maybe you've got a bunch of instances
00:23:59 - that are running a website- supporting a website.
00:24:02 - And I can say, OK, as the load increases to 80% CPU,
00:24:08 - or whatever threshold you want for five
00:24:10 - minutes straight, whew, we're maxing out.
00:24:12 - Let's add another instance.
00:24:13 - Or add a couple instances.
00:24:14 - Or you could define time frames.
00:24:16 - Well, between this and this hour,
00:24:18 - I want to make sure I boot up these instances
00:24:20 - to be available.
00:24:21 - That's considered Auto Scaling.
00:24:23 - Allows you to grow.
00:24:25 - Allows the system to grow with you as needed.
00:24:31 - CloudFormation.
00:24:33 - CloudFormation allows you to define templates of servers.
00:24:37 - Hm.
00:24:38 - It goes beyond the typical EC2 server.
00:24:40 - With EC2, I can define my templates.
00:24:43 - For instance, I can create what's
00:24:44 - called an AMI-- which is just an image of a virtual machine.
00:24:49 - I can create an AMI of my web server.
00:24:52 - W-W-W. I can create an AMI of my database server.
00:24:56 - I could create an AMI of let's say my Windows Server.
00:25:00 - Again, I could create all these different templates.
00:25:03 - So when I need to create an instance-- maybe
00:25:06 - for Auto Scaling-- I need to add another web server.
00:25:09 - It says I'm going to add it based on this template.
00:25:11 - I can create all kinds of templates in EC2.
00:25:14 - But with CloudFormation, I can create--
00:25:17 - get this-- a template of templates.
00:25:21 - So maybe I know to run a site-- to run a full blown site
00:25:27 - for my business-- I need it two web servers, a Windows
00:25:30 - server, and a pair of database servers.
00:25:33 - Well I can create that using CloudFormation.
00:25:39 - Remember I was saying Amazon is designed into regions
00:25:42 - with availability zones and all that?
00:25:44 - I could say, to bring up a full blown system that
00:25:49 - includes everything that I need to run
00:25:50 - my company in a different availability zone,
00:25:53 - or a different region in Amazon Web Services.
00:25:56 - I've created this CloudFormation template.
00:25:59 - Now the cool thing is, all kinds of people
00:26:01 - have created CloudFormation templates that
00:26:03 - are publicly available.
00:26:06 - And some of them are free.
00:26:07 - Some of them you can pay for.
00:26:08 - You can say, hey, I want everything
00:26:11 - that I need to run a Wordpress site.
00:26:16 - Or I want everything that I need to run an e-commerce store.
00:26:19 - Or I want everything-- and so you can go out there
00:26:21 - and people have pre-configured CloudFormation templates
00:26:24 - to say, OK, well then you need these three servers.
00:26:28 - Go in and click the button, and bam,
00:26:30 - immediately you've got an e-commerce site.
00:26:31 - So very powerful stuff that you can do with CloudFormation.
00:26:35 - Identity and Access Management.
00:26:37 - IAM is the ability to create credentials.
00:26:40 - All kinds of different credentials
00:26:42 - that are used to access your systems.
00:26:45 - You can have I'll say a simpler style S3 bucket
00:26:51 - name and secret key.
00:26:53 - Kind of like a username-password system.
00:26:55 - You can have a more advanced public key algorithm system.
00:26:59 - We're going to talk about these in the future extensively.
00:27:02 - You can have even token based, where somebody
00:27:06 - has a little keychain or an iPhone app that generates them
00:27:09 - a token that they can use the login for one time only,
00:27:12 - and then that token expires and can never be used again.
00:27:15 - So all kinds of ways of managing access to your system.
00:27:18 - That's IAM.
00:27:20 - Last one-- Elastic Load Balancing.
00:27:22 - Whew.
00:27:23 - Are you feeling like you're drinking
00:27:25 - from a fire hose or what?
00:27:26 - I feel like I'm a fire hose right now.
00:27:28 - Because I'm giving you just like the tip of the iceberg.
00:27:31 - There's so much more that we can talk about with these.
00:27:33 - But again, this is just an overview
00:27:35 - so you know what it's capable of doing.
00:27:38 - That's really the big picture.
00:27:40 - So Elastic Load Balancing is the ability
00:27:42 - to bring up these servers.
00:27:43 - Let's say I've got four web servers that I just brought up,
00:27:47 - and I want to load balance between all of them.
00:27:50 - That's what a Elastic Load Balancing can do for you.
00:27:53 - So magically, Amazon can create an ELB that
00:27:58 - says, for incoming requests to your website--
00:28:01 - and I'm using website as a generic.
00:28:03 - It could be to your remote desktop services,
00:28:05 - to your FTP site, to your bleh, fill in the blank.
00:28:08 - For requests coming in from the world out here--
00:28:11 - here's the internet-- it will hit this Elastic Load
00:28:14 - Balancer, which can send it to that server, and that server,
00:28:16 - and that server.
00:28:17 - Or maybe you do a round-robin to where that one, that one,
00:28:19 - that one.
00:28:20 - Or maybe you do a percentage, to where 50% of the requests
00:28:23 - go here, another 20% go here.
00:28:25 - You can define how it load balances.
00:28:29 - But Amazon does that for you with Elastic Load Balancing.
00:28:33 - Oh.
00:28:35 - Want to collapse.
00:28:36 - Man, just that transition from the services--
00:28:39 - that's just the core services that are available to you.
00:28:43 - I just want to kind of-- I just want to breathe.
00:28:48 - But oh, can you get the vision of why I wanted to cover those?
00:28:52 - Now you have enough knowledge to go, wow,
00:28:56 - that's what I can do with Amazon Web Services?
00:28:59 - And that's just the tip of the iceberg?
00:29:01 - Wow.
00:29:02 - Now I can sit down and start planning, and really thinking
00:29:05 - through what's capable here.
00:29:07 - What I can design this to do for me.
00:29:10 - OK, now, the last thing I want to talk about here--
00:29:12 - because again, we're going to spend the rest of the series
00:29:15 - really diving deep into each one of those
00:29:17 - and talking about what's possible.
00:29:19 - Let's talk about how to do this for free.
00:29:21 - Really?
00:29:22 - For free?
00:29:22 - Yeah, for free.
00:29:24 - Now I put this-- I copied this straight from this URL here.
00:29:30 - Http://aws.amazon.com/free.
00:29:32 - Because I wanted to show you this
00:29:34 - is what's free as in mid 2012, because Amazon's always
00:29:37 - doing more.
00:29:38 - As in, they didn't even used to allow
00:29:40 - you to run this for free for a year.
00:29:41 - But now they really do.
00:29:42 - So they may even be adding more and more and more and more
00:29:44 - that you're able to do for free.
00:29:46 - Amazon is so confident, that when you sign up and really
00:29:49 - start rolling this thing out, that you're going to like it
00:29:52 - so much you're going to stick with it.
00:29:54 - So they give you the ability to do almost everything
00:29:57 - that I talked about on the last slide for free.
00:29:59 - As in, this so what you're able to do.
00:30:01 - You can run 750 hours of Amazon EC2 Micro Instances for a year.
00:30:10 - That's enough to run continuously each month.
00:30:13 - And they put a little star there.
00:30:14 - It's just saying, hey, we're talking
00:30:16 - about running one instance at a micro level.
00:30:20 - Now a micro level, it's slow.
00:30:23 - I'm not saying that's a mean machine.
00:30:25 - But it's free.
00:30:26 - I mean you can kick the tires, you can do just about anything
00:30:28 - that you want with this thing for free for a full year.
00:30:31 - You know, five gigabytes of storage.
00:30:32 - Again, is it a ton?
00:30:34 - No, it's not, but it's enough to get started.
00:30:36 - It's enough to run for free.
00:30:37 - You get Windows licenses for free.
00:30:40 - I mean, a Windows Server license--
00:30:42 - if you were to go on google.com and say, buy a Windows Server
00:30:46 - license, I mean you're talking about thousands of dollars,
00:30:49 - that they're giving you for free to run
00:30:51 - this thing every single month.
00:30:52 - So this is powerful.
00:30:55 - You can go through and start exploring this.
00:30:57 - Right now.
00:30:58 - Go, sign up for an account and get going.
00:31:00 - But I want to answer this question.
00:31:02 - What happens if I go into a paid tier?
00:31:06 - How does that work?
00:31:07 - So let's say I'm running my micro instance, and I'm like,
00:31:10 - OK, I want to make this a little more.
00:31:12 - I want to upgrade that to maybe a large instance.
00:31:15 - So a runs a little bit faster.
00:31:17 - A little bit, a lot faster, for me using a real server.
00:31:20 - What happens?
00:31:21 - Well, immediately you now go into paid services.
00:31:24 - It's a paid tier to do this.
00:31:25 - And you're going to be charged hourly for that large instance.
00:31:28 - I'm not going to throw the rates up there because they--
00:31:30 - literally, Amazon has lowered the rates.
00:31:32 - What is it, like nine times over the last couple of-- I
00:31:34 - mean just an insane amount of times.
00:31:36 - So check the rates of what that large instance costs you.
00:31:39 - Maybe it's-- we'll just say $1 an hour, right.
00:31:42 - $1 an hour.
00:31:42 - So you convert that server to $1 an hour.
00:31:45 - You're going to be charged $1.
00:31:48 - So I go in and say run it as a large--
00:31:51 - let's say I run it for 10 minutes.
00:31:53 - I'm going to be charged $1.
00:31:54 - Even though I didn't use the rest of the 50 minutes.
00:31:57 - Maybe I used 59 minutes.
00:31:58 - I'm going to be charged $1.
00:32:00 - As soon as I go to 61 minutes and I go into the next hour,
00:32:03 - I'm being charged $2.
00:32:04 - So the big warning I want to throw out there to you,
00:32:07 - is think this through and make sure
00:32:09 - that you shut down anything that you're not using.
00:32:12 - It's very easy to say, OK well let's check this out.
00:32:15 - Let's run a large instance.
00:32:16 - And you keep it running, you forget about it
00:32:18 - because you test it, you're like, oh that's pretty awesome,
00:32:20 - I like it.
00:32:21 - You close it.
00:32:22 - You close down your browser window.
00:32:23 - That large instance is running behind the scenes.
00:32:26 - You forget about it right?
00:32:27 - Days go by.
00:32:28 - Two days, three days.
00:32:29 - So you move from $1 an hour to now OK,
00:32:32 - you just ran that for a full day-- 24 hours-- that's $24.
00:32:35 - OK, two days.
00:32:36 - OK, that's $50.
00:32:38 - Wow, OK.
00:32:39 - If you're signing up on your personal credit card,
00:32:42 - and you forget about this, it's not good.
00:32:46 - So you want to make sure that you
00:32:48 - remember that you are running this.
00:32:50 - As soon as you go beyond that free charge-- the free tier--
00:32:54 - you are going we charged for this.
00:32:56 - And that that's something to be very aware of.
00:32:59 - So please heed my warning.
00:33:02 - That's why Amazon has you put in your credit card.
00:33:04 - It's very easy for you to say, well let's
00:33:07 - try kicking the tires on a large instance,
00:33:08 - or an extra large instance just to see how this thing really
00:33:11 - performs.
00:33:12 - They want to give you that flexibility.
00:33:14 - But oh man, think that through.
00:33:16 - If your credit card is on there, and you just
00:33:18 - keep that instance running beyond your testing period,
00:33:21 - that could end you in a world of hurt.
00:33:22 - So make sure that you-- we're going
00:33:25 - to be doing, as we go through the series, of lot of examples.
00:33:27 - A lot of what I would call labs to set this thing up.
00:33:31 - Definitely do them with me.
00:33:32 - Use the free tier as much as you can.
00:33:34 - But if you want to go beyond, be warned, don't keep it running.
00:33:38 - So we have seen in this, what you
00:33:41 - need to get started with Amazon Web Services.
00:33:44 - Again, signing up for an account.
00:33:45 - Credit card, telephone number, verification calls,
00:33:48 - verification emails, all that kind of stuff.
00:33:50 - I went through the meat of this, which was the Amazon Web
00:33:53 - Services-- what I would say, core services-- to get
00:33:55 - you started.
00:33:56 - Services that almost everybody would benefit from.
00:33:58 - But know that there are more of them out there.
00:34:01 - We'll talk about those, again, as we continue on
00:34:03 - through the series, I'll splice them in here and there.
00:34:06 - And then we talked about what can I do for free, really?
00:34:09 - I mean what.
00:34:10 - And if you look at it, that last slide,
00:34:12 - there's a lot that you can do.
00:34:13 - They give you a ton that you're able to do
00:34:15 - for free without getting charged.
00:34:17 - Amazon is that confident in what they're
00:34:19 - able to provide for you, that they're saying,
00:34:21 - try it out for a year and see how it works.
00:34:24 - So a lot that you're able to do.
00:34:26 - So I would say right now, that's enough for you
00:34:28 - to just sit back you go, OK, let me write this on paper.
00:34:31 - Let me make sure I really get what we're talking about here.
00:34:34 - Get into Amazon, get into the management console
00:34:37 - and see what that's all about.
00:34:39 - Start creating instances and looking around to get familiar.
00:34:44 - And then we'll continue on as we pick up in the next Nugget.
00:34:47 - I hope this has been informative for you,
00:34:49 - and I'd like to thank you for viewing.

EC2: Creating an EC2 Instance - AMI Selection

EC2: Creating an EC2 Instance - Pricing

EC2: Creating an EC2 Instance - Instance Types

EC2: Creating an EC2 Instance - Tags and Key Pairs

EC2: Creating an EC2 Instance - Security Groups

EC2: Creating an EC2 Instance - Elastic IPs and ELB

VPC: It's MY Cloud Now! Understanding AWS Network Management

VPC: It's MY Cloud Now! Understanding AWS Network Management, Part 2

VPC: It's MY Cloud Now! Understanding AWS Network Management, Part 3

S3 Foundations: Getting Started with S3

S3 Foundations: Working with S3 Storage

Route 53: DNS Management Made Easy

IAM: Creating and Managing User Access

AWS Case Study: CBT Nuggets Move to the Cloud

AWS: Series Wrap-up

Please help us improve by sharing your feedback on training courses and videos. For customer service questions, please contact our support team. The views expressed in comments reflect those of the author and not of CBT Nuggets. We reserve the right to remove comments that do not adhere to our community standards.

comments powered by Disqus

Course Features

Speed Control

Play videos at a faster or slower pace.

Bookmarks

Pick up where you left off watching a video.

Notes

Jot down information to refer back to at a later time.

Offline Training

Our mobile apps offer the ability to download videos and train anytime, anywhere offline.

Accountability Coaching

Develop and maintain a study plan with assistance from coaches.
Jeremy Cioara

Jeremy Cioara

CBT Nuggets Trainer

Certifications:
Cisco CCNA, CCDA, CCNA Security, CCNA Voice, CCNP, CCSP, CCVP, CCDP, CCIE R&S; Amazon Web Services CSA; Microsoft MCP, MCSE, Novell CNA, CNE; CompTIA A+, Network+, iNet+

Area Of Expertise:
Cisco network administration and development. Author or coauthor of numerous books, including: CCNA Voice 640-461 Official Cert Guide; CCNA Voice Official Exam Certification Guide (640-460 IIUC); CCENT Exam Prep (Exam 640-822); CCNA Exam Cram (Exam 640-802) 3rd Edition; and CCNA Voice 640-461 Official Cert Guide.


Stay Connected

Get the latest updates on the subjects you choose.


  © 2014 CBT Nuggets. All rights reserved. Licensing Agreement | Billing Agreement | Privacy Policy | RSS