AWS Certified Cloud Practitioner Certification Course 2026 (CLF-C02) - Pass the Exam!

#Cloud Concepts #Security #Compliance #Cloud Technologies and Services #Billing, Pricing and Support #Programming
💬 Chat with this Video
Ask anything about this video…
Hey, this is Andrew Brown, your favorite tech instructor, bringing you another certification course. And this time it's the adabus cloud practitioner, also known as the CLF CO2. And the way we are going to get certified is, as always, we're going to go through key lecture materials to memorize key information, doing hands-on labs in our own accounts, and as always, I provide you a free practice exam over on exampro.co. And if you like the content you see here, especially these certification courses, the best way to support them is to purchase the optional paid materials. That's how you support the creation of these courses. So, uh, we have that over on examro.co/clfco2. But do not forget about your publishers as this is the way you get this content. So, remember that you can donate to freocamp.comdonate uh, and help everybody out here. Um, just if you don't know me, I've been teaching a lot of courses over the years. I was previously a CTO for many years, so I'm very very technical. But we have taught things like Adabus, Azure, GCP, Kubernetes, data bricks, Nvidia, and more. So you're in really, really good hands. Um, and that's about it. So let's jump into the course. Hey, this is Andrew Brown and we're at the start of our journey asking the most important question first, which is what is the cloud practitioner? So this is an entry-level ad of certification teaching you the cloud fundamentals. It gives you a close look at Adabus core services. So that's going to be your compute, storage, networking, databases. It gives you a quick look at the vast amount of ADA services and there are a lot uh but we will try not to go too crazy uh and covering every single one just the ones that matter. The course code for the certification is CLF CO2, but people commonly refer to this as the CCP, but just remember what the actual course code is as if it changes that's how you know that there's probably a major refresh and so make sure you look for the latest course code content. Okay. Um adabus is the leading cloud service provider in the world. Um and the starting point for everybody generally be is the adabus cloud practitioner. So no matter um you know what provider you're using this one is probably the best certification out of all the cloud certifications. So uh if you're if you're starting here at your starting point you're at the best position. So who's the certification for? consider the ad certification. Um, if you are new to cloud and you need to learn the fundamentals, you're an executive management or sales level uh person and you're trying to acquire a strategic information about cloud adoption for migration or maybe you're just a senior cloud engineer or solution architect and you're looking to do a reset or refresh as every few years uh the stuff changes and you need to keep on top of it. So it this starts for everybody. It's not just for uh folks that are new to the cloud. What is the value of the certification? Well, um, this provides you basically an expansive view of the cloud architecture in AD as services or what I like to say it gives you a bird's eye view or the 50,000 ft view. And so this will give you the idea of big picture thinking. It allows you to zoom out and assess the cloud and as landscape for changes, trends, opportunities um and just being strategic about the approach and process um for your journey. Okay. Uh so what is the value of the certification? Well, it's not a hard exam and it's not going to validate that you can build cloud workloads. Um but for technical implementation roles, it's still not going to be enough uh to basically get you a job. But the point is is that it's something that you do need to cover and it is essential content. So no matter what, you need to do this certification. Okay? And I find that a lot of other um content creators, they will actually skip content until you go right to the solution architect, but you are missing key information. So make sure you start at the starting block here um which is the ads cloud practitioner. So let's just take a look at our road map. And so the idea here is that uh the ads cloud practitioner is obviously the starting point. There is now another uh foundational certification the AI practitioner but I would say that you still need to have adabus uh cloud practitioner knowledge before you move on to that. But the most common path after cloud practitioner is a solution architect associate with the cloud ops engineer being second, developer being third. Some people swap those two as some people find the cloud ops engineer being more difficult. So maybe it's third in line there. Uh but yeah, the most common line I'm just going to get my pen tool out here is going to be cloud practitioner, solution architect, and essay pro. Okay, but it really just depends on what uh role you're targeting. So you can see here I've I've labeled a bunch of possible roles that you might be considering. There's even newer titles out now like production engineer and things like that that I don't have on here. Uh but generally, you know, all knowledge is good knowledge. So, whatever path you take, I think you're going to be in good shape. Okay. I do want to point out that ADA certifications do not validate programming, technical diagramming, code management, and many other technical skills that are required for obtain technical roles. But lucky for you, I try to sneak this stuff in the course because I know that uh some folks just want to pass, but uh there's also other people that need to know how to do the job. And so I try to uh put that stuff in without making the course too long or too bloated. Uh so hopefully you appreciate uh that extra effort there. How long will it take to study for this certification? Well, it depends. If you're a beginner, 30 hours. Um if you have experience, you can get this done in 6 hours, even less if you watch it on two times speed. So I'd probably say 24 hours is the average study time. Splitting your time between lectures and labs and practice exams, studying for one or two hours a day for 14 days. Um, what does it take to pass this exam? Well, watch the video lecture, memorize key information, do the hands-on labs in your own accounts, and go get some online practice exams. Over Exam Pro, we give you a free one, but we also have paid ones uh there as well. We do not use AI to generate them out. They are made by hand. We go sit the exams. So, you're going to get quality uh exam uh exam uh practice exams on our site. Uh, I should just point out that for this certification, you can get away without doing the hands-on labs, but I would strongly recommend that you do it because it does help cement the knowledge. Most people do not fail this exam if they uh stick to the course curriculum here. Okay. Uh there are four domains in the certification. We have uh cloud concepts, security, compliance, cloud technologies and services, billing, pricing and support. So the most of the knowledge is going to be in that cloud technology services. So that's why we cover so many so many different services. Okay. Uh where do you take this exam? Well, before there used to be two different test sites, but now it's just Pearson View. You can do it online or at a partnered uh test center. I prefer the test centers as I find them less stressful if you are near one because the whole environment is controlled. Whereas at home uh if somebody walks in or your kid makes a noise or whatever that could cause you to fail the exam. But you know if you are not near a test center then do what you can. Okay. These exams are proctored, meaning that someone is supervising them. Maybe it's using AI as well. Um, but the idea here is that you aren't just able to get up and walk around. You have to make sure that you show people your desk and that you are set up uh in a way that you aren't cheating. Um, just to ensure that these uh certifications um people aren't just cheating and getting them. Okay. Uh, the passing grade here is 70%. So, we say around 70% because you could get exactly 70% and fail. So, always aim about 15% more. So, um I would say that uh if you're getting 85% on our practice exams, then you're probably going to get 75% on the exam. That's what I find. It's like a 10% difference. Um so, aim for that 85% and then you'll probably get 75% and you'll have that 5% uh buffer margin. There is no reason to try to target to get 100%. That's not going to be good for you. It's best to just pass this and move on to the next certification. So, that's that 8020 rule. Okay, folks. There are 65 questions on this exam. There are 50 that are scored, 15 that are unscored. You can afford to get 15 wrong. There's no penalty for wrong questions. So, absolutely make sure that you choose uh uh any possible option that you can. We have multiple choice and multiple answer for these unscored questions. The reason why they have them is is that they're just making sure that nobody is cheating. Okay. So, um it also allows them to evaluate the introduction of new questions. Um making sure that the exam is not too easy. And of course to prevent uh dumps and stuff like that. So if you encounter questions you've never studied for that seem really hard, keep your cool and remember that they may be unscored questions. The duration of the exam is 1.5 hours. So that gives you 1.5 minutes per question. The exam time is 90 minutes, but the seat time is 120 minutes. Seat time is the amount of time you should allocate for the exam. This includes time to review the instructions, show online proctor your workspace, read and accept the NDA, complete the exam, provide feedback at the end. Um the certification is valid for 36 months or three years before reassertification. Um and that is it. Okay. Hey, this is Andrew Brown from Exam Pro and we are at the start of our journey asking the most important question first, which is what is cloud computing? So cloud computing is the practice of using a network of remote servers hosted on the internet to store, manage, and process data rather than a local server or personal computer. And so when we're talking about on premise, you own the servers, you hire the IT people, you pay or rent the real estate, you take all the risks. But with a cloud provider, uh, someone else owns the servers, someone else hires the IT people, someone else pays or rents the real estate, and you are responsible for configuring cloud services and code, and someone takes care of the rest of it for you. Okay. So to understand cloud computing, we need to look at the evolution of cloud hosting going all the way back to 1995 where if you wanted to host your website or web app, you'd have to get a dedicated server. So that would be one physical machine dedicated to a single business running a single project, a site or an app. And as you can imagine, these are expensive because you have to uh buy outright the hardware, have a place to store it, the network connection, having a person to maintain it. um but it did give you a guarantee of high security um and they still do as of today. So this model hasn't gone away but it's been specialized for a particular use case. Then came along the virtual private server. So the idea is we still had one physical machine but now we were able to subdivide um our machine into submachines via virtualization. And so essentially you're running a machine within a machine. And so you had better utilization of that machine um running multiple web apps as opposed to having a physical machine per project. So you got better utilization and isolation of resources. And so uh these two options still required you to purchase a machine, a dedicated machine. And so that was still kind of expensive. But then came along shared hosting. And so if you remember uh the mid 2000s like with GoDaddy or HostGator or any of those sites where you had really cheap hosting, the idea is that you had this one physical machine shared by hundreds of businesses. And the way this worked, it relied on uh tenants underutilizing their resources. So you know, you wouldn't have a sub machine in there, but you'd have a folder with permissions that you could use. Um and so you would really share the cost. And this was very, very cheap. Um but you were limited to whatever that uh machine could do and you were very restricted in terms of the functionality you had and there was just poor isolation meaning that you know if one person decided to utilize a server more they could hang up all the all the websites on that single server. Then came along cloud hosting and the idea is that you have um multiple physical machines that act as one system. So this is distributed computing and so the system is abstracted into multiple cloud services and the idea is that you basically get the advantages of a lot of the things above. So it's flexible. You can just add more servers. Um it's scalable, it's very secure because you get that uh virtual isolization. You get it extremely at a low cost because you're sharing that cost with the users. Where in the shared hosting it might be hundreds of businesses, we're looking at thousands of businesses. And it was also highly configurable because it was a full virtual machine. Now uh cloud actually uh still includes all of these types of hosting. They haven't gone away. Uh but it's just the idea that you now have more of a selection for your use case. Uh but hopefully that gives you an idea uh what cloud hosting looks like and it really has to come down to distributed computing. Okay. Hey, this is Andy Brown from Exam Pro and before we talk about AWS, we need to know what is Amazon. And so Amazon is an American multinational computer technology corporation headquartered in Seattle, Washington. And so this is the Seattle skyline with the Space Needle. And Amazon was founded in 1994 by Jeff Bezos. And the company started as an online store for books and expanded to other products. So as you can see, this is Jeff Bezos a long time ago, and he has this interesting spray painted sign, and his desk is held up by cinder blocks. and it looks like his uh desk is like an old uh table or something and he's working really late and he used to be a millionaire at this time and he would be driving into work in his Honda Accord because you know he just his motivation was always to put all the money back into the company. So, it really shows that he worked really hard and it did pay off because Amazon has expanded uh beyond just an online ecommerce store into a lot of different things such as cloud computing, which is Amazon Web Services, digital streaming such as Amazon Prime Video, Prime Music. They bought Twitch.tv. They own the Whole Foods Market grocery store. They have all this artificials intelligence. They own low orbit satellites. Uh, and a lot more stuff. It's hard to list it all. And so Jeff Bezos today is not the um the CEO. It's actually Andy Jasse is the current CEO of Amazon. He was previously the CEO of AWS. So Jeff Bezos can focus on space travel. So there you go. Hey folks, it's Andrew Brown and we are taking a look at what is Amazon Web Services. It's what Amazon calls their cloud provider service commonly referred to just as AWS. Um, and we can see this name change reflected in the old logo to the new one. So, uh, they used to use the full name. Now it's just AWS and everyone knows what AWS is. I like the little yellow boxes, but sometimes you will see at reinvent people with those shirts and it tells you they've been using ASUS a long time. So, those are people you want to listen to. Um, but anyway, AWS um, basically became a cloud service provider in 2006 and has been the leading provider ever since. Um, and cloud service provider is a term that you're going to want to remember, especially in its initialized form, CSP. We'll cover more in detail what makes a cloud service provider, but you can guess it means that they have a collection of cloud services together. Um, so you saw that asterct on that 2006 because AWS existed before 2006. Um, and their first service became available in 2004. Can you guess what service it was? Was it virtual machines? Was it uh cloud storage? No, it was SQS uh the simple Q service. So this launched in 2004 which was followed by um simple storage service S3 in 2006 of March and then elastic compute um cloud which was their virtual machines in August of 2006. And so now we are starting to see a collection of services. We can call it a cloud service provider. Technically uh if you want to say who was first as a cloud service provider, it probably was Google. But um what everybody was really using especially in the startup scene was AWS. I remember in the uh late 2000s that if your startup was using Amazon web services even though it was more expensive than virtual private servers that was a strong indicator that uh you were doing the right thing um for whatever reason but at that time I did not enjoy using adabus. Now I I know it very well. So uh once you know something it's great but that time I did not enjoy it. Um, but anyway, in 2010, that was the time when Amazon said that, hey, we've migrated all of our infrastructure over uh to AWS. Okay. Um, I believe though they were still running Oracle servers, but on their infrastructure, but then eventually they would move over to DynamoB, which was also very impressive. But anyway, the point is is that um they had migrated over and so that was a very impressive feat. Uh, another thing that kind of uh, started this whole cloud certifications thing was Adabus because they started offering uh, their certification programs um, in 2013. So, you know, I got into certifications for Adabus in 2016. That's how long I've been doing it for, but uh, obviously they're around before that, but Adabus really did standardize and make uh, cloud certifications really really useful. Um, but uh, yeah, there you go. All right. So, what I want to do here is expand on what is a cloud service provider, also known as a CSP, just because there's a lot of things out in the market there that might look like a CSP, uh, but they actually are not. So, let's go through this list and see what makes a CSP. So this is a company which provides multiple cloud services ranging from tens to hundreds of services. Those cloud services can be chained together to create cloud architectures. Those cloud services are accessible via a single unified API. So in Adabus's cases that is the AWS API. Um and from that you can access the CLI, the SDK, the management console. Those cloud services utilize metered billing based on usage. So this could be per second, per hour, uh VPCUs, memory, storage, things like that. Those cloud services have rich monitoring built in. So you know, every API action is tracked and you have access to that. So in Ados's case, it's AOS cloud trail. And the idea here is those cloud services have infrastructure as a service offering. So AAS, that means they have networking, compute, uh storage, databases, things like that. Those cloud services offers automation via infrastructure as code. So you can write code to set everything up. And so here's just kind of a example of an architecture where we have a very simple uh web application running on EC2 behind a load balancer with the domain with R53. But the idea is just to show you that you know you're chaining these things together. If a company offers multiple cloud services under a single UI but do not meet most of or all of these requirements, it would just be referred to as a cloud platform. So when you hear about Twilio or Hashi Cororp or Data Bricks, those are cloud platforms and AWS, Azure, GCP are cloud service providers. Okay. All right. Let's take a look here at the landscape of cloud service providers. This is generally broken down into tier one, tier two, tier three. But I've modified it to give each tier its own name as I don't like to think of them as rankings and more so that uh these cloud service providers are specialized uh for a particular thing. Um and I've also added a fourth tier because you know the internet has always talked about three tiers but there really is a fourth tier and I wanted to make sure we had uh the full scope here included. So in the top tier you're going to recognize uh some common names there. Amazon Web Service, Microsoft Azure, Google Cloud Platform, and Alibaba Cloud. In North America and Europe, uh AWS, Azure, and GCP are known as the big three. Um but Alibaba Cloud is huge as well if you're in the Asia region, specifically China. So, it's really just going to be dependent on where you live, where uh which are considered the most um commonly known or popular. Uh but we'll talk about that here in a moment. But the reason um I call tier one top tier is that these are you know very well-known providers. They're early to market. They have strong synergies between their services. Um they're just really good cloud service providers. You cannot go wrong with uh these providers. Then we have our tier 2 or I would call our midtier. Uh these are backed by really well-known tech companies. But I would just say that um their ability to become top tier uh did not work out the way they planned. So IBM at one point was looking to be a top tier provider. Um but they just did not keep up with um AWS and they just slipped into this mid-tier and kind of specialized at least for a while into ML AI services and now they're just more like very expensive um enterprise managed infrastructure for their existing clientele. Oracle um very very inexpensive. That's their play. They try to uh be the cheapest, but their uh service um overall is not uh fun to use. Interestingly enough, I believe Microsoft Azure was just signing a contract to use Oracle Cloud. So, it's not unusual for some of these cloud service providers or these organizations to use other providers because they want to use their global infrastructure. But, uh yeah, Oracle Cloud is uh not doing that great. There are other ones in the uh Asia region like uh Hawaii cloud and 10-centent cloud. I honestly don't know a whole lot about them, but they do show up on the magic quadrant. So, it's possible in the Asia region that these are the big three. and uh AWS, Azure, and GCP do not play a larger role, but from our perspective, I put them into that mid tier because they just don't have global uh awareness or global um market dominance like the other three uh up there. Looking at the elite tier, uh these were traditionally virtual private servers. So, they just specialized in that and they turned to offer more core infrastructure service offerings. So, we have a vulture. I always thought it was pronounced Voltater but it's actually Vulture Digital Ocean and Akami connected cloud which was formerly known as Lenoid or Leno. Um so they merged their companies together and I mean they want to be like a cloud service providers but they're very very light in terms of their offering. So um you know they'll have things like serverless and being able to run a Kubernetes cluster and some cloud storage and stuff but they won't have things like um the the same level of event driven um metered billing or or other kinds of uh functionality that you you come to expect in the top tiers. But you know if you're working with a smaller organization they are a lot simpler to uh to utilize. So they are a great introduction to cloud for companies that find the top tier uh too complex. And then looking at the fourth tier, I call this the private tier. This is uh basically software that you can deploy onto your own uh machines in your data centers to get the same kind of um functionality that you would if you were using let's say AWS or any of these other providers. And um you know previously I would put OpenStack into the mid tier because in a sense that it was kind of like a cloud service provider that was using uh uh quite a bit but I didn't feel like it h had good fit there. So that's why we made this a fourth tier and we have a few different softwares. We have OpenStack Apache Cloud Stack those are both open source and there's VMware vSphere. I have an asterk there because it's not really the same thing but it is used a lot everywhere to manage a lot of virtual machines. And so I I kind of feel like it should fit in there. But that gives you kind of an idea of the landscape of cloud. And we'll see you in the next one. All right, let's talk about how do we know that AWS is the uh leader in cloud service providers? Well, some folks would say look at the Garter magic quadrant for cloud. Um Garter is a company that produces reports. Um and so basically they are industry analysis trying to predict the future. And so they came up with this thing called the magic quadrant. It's a series of market research reports uh published by IT consulting firms that rely on proprietary uh qualitative data analysis methods to demonstrate market trends such as directions, maturity, and participants. Okay. And so here you can see uh AWS and they're right at the top. um they used to sit way more over here and the other providers were over here. We'll talk about that uh when we go through the history of this stuff. Um but look up here we have leaders, challengers, niche players, and visionaries. So it gives you an idea of if you fall in one of these things, what you are. What's really interesting is there are no visionaries right now. Uh and notice that this says for May 2025. So it is 2026 but the timing of the stuff is when they release it and um you know even though we are in the future we'll have to wait um to see that new stuff. And so these um uh these reports are based on a set of questionnaires that are answered by their marketing teams composed of uh self-certified metrics, case studies and client testimonials. But generally these reports if you want them you have to pay gardener to uh download them. I don't know how much they cost but generally um you know if a provider is marketed as something uh you know like adabus as the leader of it they're going to take a screenshot of this image or take this image make a blog post about it and that's how I'm always checking this uh stuff. So I try to always capture uh these when they come out because sometimes you'll have gaps if you do not capture them. But let's go back in time and just see how the needle's been moving. So, if we go here, and I'm just trying to find my pen tool. Here it is. But I didn't mean to scribble that there. So, now I got to get that out of there. Whoops. Um, so we'll just erase that out of there. There we go. So, if we come back here, let's take a look where Amazon Web Services is. So, it's very clear that they're the leader. And if you even go further back, the gap is larger and Microsoft is the closest thing with Google over here, Alibaba in the middle, and then Oracle 10-centent, IBM. So it's very easy to say okay well these are the first tier um cloud service providers. Okay then a year later in 2022 you're noticing that Microsoft is catching up. Um Google is getting closer. Alibaba cloud is going down here into the visionary track for whatever uh reason. Um Oracle is catching up. So Oracle was all the way down over here niche players but they're coming back here. And then we move over to uh 2023. Uh yeah, 2023. Just 2022 and 2023 look very similar. But notice Oracle is now over here. I think they're getting government contracts and that's the reason why. And then Amazon Web Services, Microsoft and Google are getting close. I don't have 2024. Normally Adabus will post it. And actually the last video um when we recorded this was in 2024 and I was just waiting a month or two for this to come out and I never caught it. So, I almost kind of wonder, did Adus not make it as the lead that year? But, um, normally they have a blog post every year and they've said that they've been the lead for x amount of years. So, I just don't have that, which is a shame. Uh, but let's see what happens when we go to 2025. And notice like um things are really catching up to Amazon Web Services. And you can tell like it looks like Microsoft and Google have gotten really close, but you can tell the reason for that is because of uh AI, right? So we have completeness of vision and notice here uh you know not exactly the same and then over here ability to execute um Amazon still near the top. So that's really interesting and then again Oracle is uh catching up because of their government contracts. I don't find them to be uh a particularly good cloud. I do not rate them as a first tier cloud provider but again if the money is coming to them then uh that's why they're where they are. Um but yeah, so hopefully that gives you an idea of it. I would just take this stuff with a grain of salt as again it's proprietary information. We do not know how they're calculating this information. Uh and you know their business model can be the fact that these companies want to utilize this stuff for marketing and so there is a bit of a money exchange there. So just consider that. Okay. So a cloud service provider can have hundreds of cloud services that are grouped into various types of services. But the four most common types of cloud services for infrastructure as a service. Uh and I call these the four core would be compute. So imagine having a virtual computer that can run applications, programs and code. Networking. So imagine having virtual network defining internet connections or network isolation between services or outbound to the internet. Storage. So imagine having a virtual hard drive that can store files, databases. So imagine a virtual database for storing reporting data or a database for general purpose web applications and uh AWS in particular has 200 plus cloud services and I want to clarify what cloud computing means because notice that we have uh cloud computing, cloud networking, cloud storage, cloud databases but the industry often just says cloud computing to refer to all categories even though it has comput in the name. So just understand when someone says cloud computing they don't just generally mean the subcategory they're talking about all of cloud. Okay. So Adabus has a lot of different cloud services and I just want to kind of go quickly over the types of categories that we can encounter here and just mention the four core. So any CSP that has IAS will always have these four core service offerings. We have compute. So in ads this would be EC2VMs storage this could be something like EBS virtual hard drives database so that could be RDSQL databases networking and content delivery but really it's networking uh and this would be VPC so private cloud network okay so uh let's just look at all the categories that are outside the four core so there could be analytics application integration AR VR ads cost management blockchain business application containers customer engagement developer tools and user computing, game tech, IoT, machine learning, management and governance, media services, migration uh and transfer, mobile, quantum technologies, robotics, satellites, security, identity, and compliance. If there was more, I would not be surprised, but you can see there's a lot of stuff that's going on here. So, let's take a look at all the Adabus services that are available to us. So if you're on the marketing website which is adabus.amazon.com what you'll see in the top left corner is products and so these are all the categories and for whatever we want if it's like ec2 we can go into here and we can read all about it. So, usually we'll have our overview. All right. And that's not very useful. And then we'll go over to features. And so, this is can be kind of useful to get some basic information and pricing, which is something you'll do a lot in AWS is you're always going to be going to a service and looking up its price. And so, you'll make your way over uh here. Every single one is different. A very important page would be like getting started. So, this will give you basic information. But what I do is I like to go all the way down to the bottom here and find my way over to the documentation. So I'll go here to documentation to get that deeper knowledge about that service. And as you can see things get pretty deep with AWS in terms of the information they have. So hopefully that gives you an idea of the scope. Also when you're logged into AWS and this will be when we create our account uh you can explore all the services this way as well. So these are all the as services. Uh but you just notice that there's two ways to uh explore them where this is actually you just actually utilizing the services and then the marketing website is you reading about them and learning all about them. Okay. Hey, this is Andrew Brown from Exam Pro and we are looking at the evolution of computing. Your cloud service provider has all of these offerings and the idea is that you need to choose the one that meets your use case. A lot of times this all has to come around the utilization of space. That's what we're trying to illustrate here in this section here and the trade-offs of why you might want to use some of these offerings. Okay, for dedicated, we're talking about a uh a physically uh a physical server wholly utilized by a single customer. That's considered single tenant. And uh for Google Cloud, we're talking about um single node clusters and bare metal machines where you have control of the virtualization. So you can install any kind of hypervisor or virtualization you want on the system. The trade-off here though is that you have to guess upfront what your capacity is going to be and you're never going to 100% utilize that machine because it's going to have to be a bit under in case the utilization goes up. That's you choosing the CPUs and the memories. You're going to end up overpaying because you're uh you'll have under underutilized server. Uh it's not going to be easy to vertically scale. It's not like you can just say resize it because the machine you have is what you have, right? You can't add more. I mean, I suppose they can insert more memory for you, but that's a manual migration. Uh so it's very difficult. Um and replacing the server is also very difficult. Okay. So you're limited by the host operating system. It's not virtualized. So whatever is on there is on there. Um and that's what your apps are going to have access to. Uh if you decide to run more than one app, which is not a good practice for these kind of machines, uh you're going to end up with uh resource sharing where one machine might utilize more than the others. Technically with a dedicated machine, you have a guarantee of security, privacy, and full utility of the underlying resources. I put an asterk there because yes it's more secure but but uh but it's up to you to make sure that it's more secure. So you have that's up to your skills of security right whereas if you had a virtual machine or anything above that there's more responsibility on the cloud service provider to just provide a sec secure machine and they can do a better job than you. So why would you use a dedicated machine? Well, maybe you're doing high performance computing where you need these machines like very close together and you have to choose what kind of virtualization you need to have. Okay, so then we're looking at virtual machines. The idea here is you can run a machine within a machine. The way that works is we have a hypervisor. This is a a software layer that lets you run the virtual machines. Uh and the idea here is now it's multi-tenant. You can share the cost with multiple customers. You're paying for a fraction of the server. uh you'll still end up overpaying for the underutilized virtual machine because a virtual machine is just like you have to still say how many vCPUs, how much memory, and your app is you don't want an app that uses 100%, right? You want to use exactly the amount you need, but you can see here, you know, there's still going to be some underutilization. Uh you're limited by the guest operating system now, but now it's virtualized. So, at least it's very easy to uh possibly migrate away. If you choose to run uh more than one app on a virtual machine, it it can still run into resource sharing conflicts. Uh it's easier to export or import images for migration. It's easier to vertically or horizontally scale. Okay. And virtual machines are the most common and popular offering for compute because people are just very comfortable with those. Then you have containers. And the idea is you have a virtual machine running these things called containers. The way they do that is similar to a hypervisor, but instead you have um like here it's a docker demon. So it's just a um a container uh software layer, okay, to run those containers. There's different kinds. Docker is the most popular. Uh and the great thing is you can maximize the uh the the capacity because you can easily add new containers, resize those containers, use up the rest of the space. It's a lot more flexible. Okay. uh your containers will share the same underlying OS but they are more efficient than multiple VMs. Uh multiple apps can run side by side without being limited uh by the same OS requirements and not cause conflicts during resource sharing. So containers are really good but you know the trade-off is there a lot more work to maintain. Then you have functions and functions go even step further and the idea is that you uh the the containers where we where we talked about that's a lot of work to maintain. Now the uh cloud service provider is taking care of those containers generally sometimes not it depends if it's serverless or not but the idea is that you don't even think about this is called serless compute but you don't even think about uh the OS or anything you just know that what your runtime is you run or python or node and you just upload your code and you just say uh I want this to be able to run uh uh for this long uh and use this amount of memory. Okay, you're only responsible for your code and data nothing else. It's very cost- effective. You only pay for the time the code is running. Uh and VMs only run when there is code to be executed. But because of that, there is this concept of cold starts and this is uh where the virtual machine has to spin up and so sometimes requests can be a bit slow. So there's a bit of trade-off there. But functions or serverless compute is generally one of the best offerings as of today. But most people are still getting kind of comfortable with that paradigm. Okay. Hey, this is Andrew Brown from Exam Pro and we are taking a look at the types of cloud computing. The best way to represent this is a stacked pyramid and we'll start our way at the top with SAS also known as software as a service. So this is a product that is run and managed by the cloud service provider. You don't have to worry about how the service is maintained. It just works and remains available. So examples of this and actually uh the first uh company to coin this was actually Salesforce. Um then there's things like Gmail, Office 365, so think Microsoft Word, Excel, things like that and they run in the cloud. Okay. And SAS is generally designed for customers in mind. Then came along platform as a service um also known as pass and these focus on the development or sorry the deployment and management of your apps. So you don't worry about provisioning, configuring or understanding the hardware or operating system. And so here we'd have things like Elastic Beantock, Heroku, which is very popular among developers that just want to launch their code, or Google App Engine, and that is the old logo, but that's the logo I like to use because I think it looks cool. And so these are intended for developers. The idea is that you just deploy your code um and the platform does the rest. Then there is infrastructure as a service. There's no way to say that like it's easy to say SAS or pass but there's no easy way to say IAS. So this is the basic building blocks for cloud IT. It provides access to networking features, computers and data storage space. And the idea here is you don't worry about the IT staff, data centers and hardware. And so that would be like Microsoft Azure, AWS, Oracle Cloud, things like that. And these are for administrators. Okay. So there you go. Hey, this is Andrew Brown from Exam Pro and we are taking a look at cloud computing deployment models starting with public cloud. And the idea here is that everything when I say everything, I'm talking about the workloads, the projects, the code is built on the cloud service provider. So here is a diagram where we have a EC2 instance, a virtual machine running our application and then we have our database in RDS and we have the internet coming into our ads account and so everything is contained all of our infrastructure is within AWS. All right. Uh and so this is known as being cloudnative or cloud first. And I put an asterk beside cloudnative because that was a term uh that was uh used prior to cloud providers to refer to containers or open- source um uh models being deployed and being mobile other places. So just understand that it has two meanings. But in the context of this cloud native just being like native to the cloud like using cloud to begin with. Okay. Then we have private cloud. So everything built on a company's data center. Uh and being built on a data center is known as being on premise because that is where the data center resides near where you work. And so here you could be using cloud but you'd be using OpenStack which would be a private cloud. So here we have our on-remise data center and uh the internet's coming into our data center and we're running on OpenStack where we can launch virtual machines and a database. Okay. Then there's the concept of a hybrid cloud. So using both on premise and a cloud service provider together and so the idea here is we have our onremise data center and then we have an established connection maybe it's a VPN connection maybe it is a direct connection um but the idea is that we're bridging that connection and uh utilizing both our private and our public uh stuff to uh create a cloud workload. Then there is a fourth one called crosscloud. Um sometimes it's known as multicloud uh and sometimes it's erroneously referred to as hybrid cloud but it generally is not uh hybrid cloud. Okay. The idea here is when you're using multiple cloud providers and so one example here could be using services like Azure Arc. So, Azure Arc allows you to extend your um control plane uh so that you can deploy containers for Kubernetes in um Azure within Amazon EKS within GCP Kubernetes Engine. But, you know, being crosscloud doesn't necessarily mean that you're running a using a service that use works across the cloud and manages it. It could just mean using multiple providers at the same time. Uh another service that is similar to Azure Arc but is for uh Google cloud uh platform is also known as Anthos. Um Adabus has traditionally not been um crosscloud uh friendly and so we haven't seen any kind of developments there where we see uh these other services that are be or cloud service providers behind AWS trying to promote it to uh grab more of the market share. Okay. So let's talk about the different deployment models and what kind of companies or organizations are still utilizing uh for these particular categories. So for cloud again this is where we're fully utilizing cloud computing. Hybrid is a combination of public cloud and on-rem or private cloud and then on-rem is deploying resources on premise using virtualization resource management tools sometimes called private cloud or could be utilizing something like OpenStack. So for companies that are starting out today or are small enough to make the leap from a virtual private server to a cloud service provider, this is where we're looking at cloud. So we're looking at startups, SAS offerings, new projects and companies. Um so maybe this would be like base camp, Dropbox, Squarespace. Then for hybrid, these are organizations that started with their own data center but can't fully move to cloud due to the effort or migration or security compliance. So we're talking about banks, fintech, investment management, large professional service providers, legacy onrem. So maybe CIBC which is a bank, Deote, uh the CCP or CPP investment board and then for on premise these are organizations that cannot run on cloud due to strict regulatory compliance or the sheer size of the organization or they just have like an outdated uh idea of what cloud is. So they just have a lot of uh difficulties in terms of politics adopting cloud. Um, so this would be public sector like government, super sensitive data like hospitals, large enterprise with heavy regulation, insurance companies. Um, so again, hospitals, maybe EIG, the government of Canada. And so I shouldn't say that they aren't using cloud, but um, you know, because uh, AWS and all the cloud service providers have um, uh, public sector offering. So um, you know, I'm just trying to stage as an example of things that could be still using on premise. So, you know, I know the government Canada definitely uses uh cloud in a lot of ways. Same with AIG and hospitals, but you know, generally these are the the last holdouts of onrem because there really isn't a a good reason to be fully on premise anymore. Uh but again, there are some things that are still doing that. Okay. Hey, this is Andrew. We are on the adabus.amazon.com account. I just want to show you where you go and create your account. So click the create your account button and this is where you'll sign up. You absolutely need a credit card in order to uh utilize ads or you're not going to get very far with it. Um but uh just understand that what you're creating here is going to be your root account. And so uh just make sure that you're using email that is going to be accessible through uh for your entire team. So for example, we have our own email called accounts@acamppro.co and that's what manages our main account. So that's something you might consider. It's totally possible you could get stuck in the process um with your credit card and signing up here and you have to reach out to support. It doesn't happen often, but we do hear about it from time to time. So, that is an issue there. Uh you could try to use a um credit card like COO or something to if you let's say you don't have necessarily um a Visa or something. There are these prepaid credit cards that sometimes do work. Um but it's going to really vary based on your country and where you are. Um but anyway, this is where you sign up. It's not a hard process. Um, I would love to show it to you, but I've done it so many times I've ran out of emails to show show you with. Um, so you'll have to work through it yourself here, but it's very, very easy. And I'll see you on the other side. Okay. All right. So, now that you've created your account, you should be here in the management console. And so, what you should really do is not use your root account, which is what we're utilizing right now. And we should go ahead and create ourselves um a user that is an IM that we will use to log in. So this is already an account that I obviously am using and already have users in it. Um but that's fine. This will still work. So we'll go here at the top and we'll type in IM for um identity access management. And on the lefth hand side here you will see I am users. And the idea is that we want to create ourselves a new user that we will use to log into this account. So we'll go ahead and create user. I'll call this Andrew Brown 2 because of course I already have one. So it's fine. We'll just make another one here. And we're going to want to checkbox this on because we are human. We want to be able to log into the console. Notice here it's going to say automated or autogenerated password or custom password. Uh so it's up to you what you want to set here, but I'm going to leave it autogenerated for now. It says the user must create a new password when they sign in next. That's a good idea. We'll go ahead and hit next. And so you'll have no groups here. And so what you'll want to do is create your first group. Often people make an admin group. So you'd say admin and we would provide administrator access. Now this is the most permissive that you can utilize. So only give this to maybe yourself um or your most trusted people. Um but the next level down is power user. Effectively we drop this down here to custom manage or maybe it's by job function. Here this kind of gives you a broader breakdown of stuff. So if administration access is too much, the next level is power user, which I believe does not have access to um uh billing and other information. So that would be probably the next best thing. But anyway, we'll go here and I'm calling it an admin too because I already have an admin. And so I'll just create that. And you can see that it's exactly the same thing. I'm just going to delete that since I don't need to have um two groups here. So I'll just delete that. But that just gives you an idea of what you need to do there. So, um, once you have your groups, and I I kind of messed this up, so I'll start over again. We'll type in Andrew Brown 2. Of course, I don't need, if you were doing this first time, you wouldn't put two. We checkbox this on, autogenerate, and we'll go next. And I will choose the admin group. And we'll go to next. And we'll go ahead and create. And so now we have the username and password. So, we can use this information to log in. And this is the address that we're going to have. Yours might look a little bit different. you might see the I uh the account ID uh up here. Okay, the reason why mine shows a little bit different is that if you go over to IM here, you can set up an alias. Okay, so if you had no alias here, then it would be the account number. Uh but I would strongly recommend putting in an alias because it makes it so much easier to log in, which you'll see in just a moment. Um but what I want to do is just copy this password off screen for a moment because I'm going to forget it. And uh is that really the password? This is this is the temporary password. I just want to show how silly this one looks. It has a lot of um pipes in it and parenthesis. But anyway, so I have that saved off screen here. And I'm just going to grab that username and then we're going to log in and take a look at what this one looks like. So we'll go ahead and sign out. Okay. And we'll sign back in. Um but notice that we have more than one option. So right now like if we didn't see this sometimes we see the option of root user and IM. So root user is what when you put in an email in and that is the highest level of of access to your account. This is not something you should be using for daily use. You should only ever use the root user when you absolutely need to. Um and there are very specific things that require it which I cannot remember off the top of my head but when it does it'll tell you hey you need your root user right. But we are going to use an IM user to log in here. And here it says the account ID or account alias. And so I know mine is developers at Exam Pro. Okay. And I can go ahead and just hit next. And so that fills it out there. And then I can say Andrew Brown 2. All right. And then I can bring in that password we just saw a moment ago. Show the password. Make sure I I can see what I'm doing. And we have a little bit of an issue here. I can't remember. It's Exam Pro developers. I can't remember to be honest. Uh so but we'll try this one more time. I also might be copying a paste by accident. So, just make sure you're not doing that. Yeah, it's developers exam row. Try this one more time. I think it's because I had a space there. And so, now we enter the old password in. And I'm going to put a new one here in here. Temporary testing 1 2 3 4 5 6 exclamation mark. Testing 1 2 3 4 5 6 exclamation mark. Don't worry, I'm going to delete this user so it's not going to matter. And we're going to go ahead and confirm that password. And so now we can continue to sign in. And so now we are in this account. Uh what you should be doing is going over to IM with this new user and making sure that you set up MFA. Um so here you can see there's no MFA on the root user and we should add it for ourselves. So you can go ahead and do that. Um this is just a playground account and I'm not really worried about it. So that's why I don't set this stuff up. Um but you generally should and that's all I wanted to show you. Okay, there you go. Cha chia. Okay, so now that we have the proper user account to log in, I just want to point out uh about regions. So in the top right corner, you'll notice it says North Virginia here. It possibly will say something completely else for you. But what you'll do is you'll click and drop that down and you'll see a big list of regions. And so sometimes when I log in as it likes to default me to U east uh US East Ohio, but I honestly like to launch all my stuff in US East North Virginia. Even though I'm in Canada, I probably should be using the Canada Central region down here. Um but the default region is going to be based on your locality. Okay? So just understand that it might be different. I strongly recommend for um all of our follows you run in US- East1 because US East1 is the original um the original region and it also has the most access to ad services and some ad services um such as like billing and and cost and things like that are only going to show up in US East uh North Virginia. So just to make our lives a lot easier, we're going to set it there. But I want you to understand that some services are global services, meaning that it doesn't matter what region you're in. It's going to default to global. And one example could be CloudFront. So if I jump over to CloudFront here for a moment, and uh we do seem to have uh some CloudFront distributions here from a prior uh followalong. But notice up here that it now says global. So CloudFront does not require a region selection. Let's make our way over to S3. All right. And this one's also global. So again, this one does not require a region selection. But if you go over to something like EC2, okay, this has a a region dependency. So just be really careful about that because a lot of times you'll be doing a follow along and you'll be like, why aren't these resources here or whatever? And it's because this got switched on you. And it can happen at any time. So just be uh cautious or aware of that. Okay. So one of the major advantages of using AWS or any cloud service provider is that it utilizes metered billing. So that is different from a fixed cost where you'd say okay I want a server for X amount of dollars every month. But the way AWS works is that it's going to bill you on the hour on the second based on a bunch of factors. And so you're going to be able to get services at a lower cost. However, if you choose an expensive service and you forget about it or there's misconfiguration where you thought you were launching something that was cost-effective but turned out to be very expensive, you could end up with a very large bill very very quickly. And so, uh, that is a major concern for a lot of people utilizing cloud. But there's a lot of great toolings built into AWS to allow you to catch yourself if you happen to make that mistake. And before we go ahead and learn how to do that, I want to show you uh some place where you could end up having excessive spend without knowing it. So one example, and this is actually happened to me when I first started using AWS uh before I even knew about all the billing tools, is I wanted to launch a Reddus instance. And so you you just have to watch. You don't have to do this, but um Elasticash is a service that allows you to launch either a memcache or reddis uh database. and I just wanted it to store a single value. And so I went here and I scrolled down. It looked all good and I hit create. But I wasn't paying attention because apparently Adabus likes to default the node type here to the cache R6G.Large. All right. And you know, you might think that Adabus has your best interest in play. And most services are pretty good. they they make sure that they're either free or very low spend. But some of these and Elasticash is an older service where they just have these weird defaults. So, um you know, if we were to go look up this the RG6 uh large, all right, and look at its spend. All right. And we would go over here. Whoops. I think I went to the China one. But if we were to go over here and look for that instance, I'm just trying to find it here for cost. This one down below. Um, this doesn't say pricing. Does it say our pricing here? Here it is. So, this one cost um, this one costs about 2 cents per hour. It doesn't sound like a lot, but if we go here and we do the math, we say 730. 730 is the amount of hours in a month. That is $150. Okay. So, if you don't know about that and forget about that, that's going to be $150. And I'm going to tell you that it used to be a lot higher. I'm pretty sure they used to have it defaulted to something like like this or that because I remember I did this and I had a bill that came in that was like $3,000 USD and I'm in Canada so like $3,000 USD is like a million dollars up here. And so I remember um it was a big concern and I freaked out. But that was okay because all I had to do was go to support and what I had done is I went to the support center and I had opened a support case and I just said, "Hey, I have this really big bill." So you go here, right? and you look for billing and uh you look for something like charging query or misspend and you say you know um you know like help my bill's too high and you just say like you explain the problem saying hey you know I was using elastic cache and it was set to a large default and I wasn't aware about it can you please give me back the money and the great thing is that AWS is going to give you a free pass if it's your first time where you've had a misspending they generally will say okay um you know don't do it again and if it happens again you will get build but go ahead and learn how to set up billing alerts or things like that. Okay so just so you know don't freak out if you do have a really high bill you're going to get a single free pass but now that we know that let's go learn uh how to set up a budget. Okay. All right. So, now that we've had a bit of a story about um over spend for misconfiguration, let's learn how to protect ourselves against it. And we're going to go ahead and set up a budget. So, go to the top here and type in budget. And what that will do is bring us over to the billing dashboard. Another way to get here is to go click the top here and go to my billing dashboard. And then you'll see the lefthand menu here. And so, the great thing about budgets is that the first two are free. It says there is no additional charge for adab budgets. You pay for configured US usage. But I'm pretty sure that that's not true because it used to be ABS budget reports. Okay, so that costs something. It used to be that ads budgets um after success enabled will incur 10 cents daily. So in addition to budget monitor, you can add actions to your budgets. The first two action enabled budgets are free. Okay. So, just be aware that just because it says there's no additional charge, read into it because sometimes the the fine line will tell you it does cost something. But I know that the first two are free. What we'll do is go ahead and create a budget. Just going to close these other tabs here since we have no need for them. And we're going to be presented with a bunch of budget types. Uh we're concerned about cost today, so we're going to go with a cost budget. And notice we can change the period from monthly to daily to quarterly to annually. If you change it to daily, um you won't get forecasting. So, I don't want that today, but a monthly is pretty good. You can have it reoccurring, which is strongly recommended. And then you can put a fixed cost. Notice that I already have some spend on this account. So, it was like 25 bucks last month. I'm going to set it my uh budget here to $100. And you could add filters here to um uh filter that cost out. So, if you want to say only for this region or things like that, you could do that. Uh notice that this is my spend over here. Um so, this is my budget and that's the actual cost. Notice my cost has been going up the last few months because I've been doing things with this account. And so what I'll do is say simple budget here. We'll hit next. And so now it's asking us if we want to configure alerts. We probably do. So you'd hit add alert and then you'd set a threshold like 80%. Or you could say an absolute value. And then you'd put in your emails like Andrew@acamppro.co. And I want to point out that this is using um it was SNS or it should be anyway. So Amazon SNS has no upfront cost based on your stuff here. So even though you're filling out an email, you know, and maybe it doesn't show it, but I'm pretty sure that this would create an SNS topic, but what we'll do is hit next. Here we have an alert. So we're just uh reviewing. Actually, this is for attaching any action. So maybe we want some kind of follow-up thing to happen here. So we say add action and uh requires specific IM permissions on your behalf. Okay, sure. So I guess you could follow up actions. That's no different than um a building alarm, but we're not really worried about that right now. I'm not going to bother with an action. And we'll go ahead and create a budget. And so here it's going to say that our budget is $100. It's going to show us the amount used, forecast amount, current budget. Sometimes this takes time to uh show up. So I'm going to hit refresh and see if it shows up yet. There we go. So notice we have forecasted amount $23, current budget, etc. forecasted budget, uh forecasted versus budget. So it's pretty straightforward on how that works. U I'm just curious if it actually created an SNS event. So I'm going to go over here because a lot of services utilize SNS. So if I go over here, default Cloudatch alarm. Um, so I think this is something I had created before. So I'm going to go ahead and just delete it. Says default cloud watch alarms. Actually, I'm I'm going to just click into here and see what I have. Confirmed. So I think it might have used this when we created it. But um, the reason I'm bringing up SNS is that there's a lot of services that allow you to uh, email yourself for alerts and always integrates with this service. And so I just want kind of want to point that out so that you remember what SNS is for. Um, but yeah, so setting up a budget is not too hard. So there you go. All right. So now that we've set a budget, what I want to talk to you about is the free tier. And the free tier is something that is available to you uh for the first 12 months of a new account and allows you to utilize it services without incurring any cost to you. And so it's in your advantage to utilize this free tier um as you are experimenting and learning cloud. So if you want to learn about all the offerings, what you do is go to Google, type in adabus free tier and you'll get this page that explains all the sorts of things here. So you can get uh 750 hours on EC2 RDS things like that. There are stipulations in terms of what it would be. So here this is a T2 or T3 micro mic uh micro running Linux, Red Hat um or other type of OSS. Okay. So there are uh details and you have to read the fine print. Some services are only available for the first two months, things like that. So, it's going to highly vary based on service, but it's worth giving this a read in areas that you are interested in. Now, the thing is is how do you know that you are still in the free tier or you go outside of it and that's what I want to talk to you about right now. So, I am actually in another Adabus account. So, notice in the top right corner it says brown.lap or hyphen laptopro.co. Sometimes I will switch into different AIS accounts during these follow alongs so I can best show you um you know the settings. So, if you make your way over to billing and actually I should show you uh up here if we go to my dealing bash dashboard just trying to be consistent here and you go to the lefth hand side to billing preferences. What you can do is enable receive free tier usage alerts and then put your email in there and save that. And so turn on this feature to receive email alerts when your adus uh service usage is approaching or exceeded the adabus free tier usage limits if you wish to receive these alerts etc etc etc right and while you're there I want you to also check box receive billing alerts so I can show you how to set a billing uh a billing alert and adabus says you know budgets are a new thing but billing alerts are still something that we use as of today so if you checkbox that on we'll be able to see your cost if we go back here. Uh it should show you um and it's because I'm out of the free tier on this account, but it would show you in the alerts, you know, your usage there. So, example here is if we scroll down, this is in the documentation tracking your AI is free tier usage. You would see like a box like this and it would say, hey, your free tier usage limit is here and you're over it. Okay. So, that generally would show up on this panel here, but again, I'm outside of the free tier, so I'm not seeing it here um today. Okay. So, you know, hopefully that is clear. Um, but yeah, there you go. All right. So, we created ourselves a budget. We're monitoring our free tier, but there's another way that we can monitor our spend, and that is through building alerts or alarms. And it is the old way. Before uh we had it was budgets, this was the only way you could do it. But I still recommend it because there is a bit more flexibility here with this service. And so I wanted to teach you uh early on so that you know it's available to you or if you want to play around with it in the future. So what you'll do is go to the top here and type in Cloudatch. And Cloudatch is one of those services where it's actually a collection of services. So there's Cloudatch alarms, Cloudatch Logs, Cloudatch Metrics. Those are all individual services. And loves to update their interface. So, sometimes you'll be presented with this option to uh change to the latest interface. I'm going to try out the new interface here. Um, and that is one challenge with AWS is you always have to expect that they're going to change the UI on you and you're going to have to work through it. So, just understand that I try to keep my videos up to date as best I can, but part of the challenge is getting used to that. So, this is what they have today. I don't know if they're going to stick with this, but this is what it looks like. But what I want you to do is make your way over to alarms on the lefth hand side. And notice that we actually have a section just for billing which is interesting. I don't remember them having that before. So it's new. So uh here it says cloud watch help can help you monitor the charges of adabis bill. Remember that we had to turn that on. Get 10 free alarms with a thousand free email notifications each month as part of the free tier. So understand that if you create billing alarms they do cost money um as well if you go over that limit, but you sure get a lot. 10 free alarms is quite a bit. But what we'll do is go ahead here and create ourselves alarm. We're going to go and choose a metric. And so here are the options we could choose from. And so we I think would like um billing. And so we can do by service or total estimated charge. We're going to do a total estimated charge. We can only select USD. I've never seen any other currency ever there. And so here we kind of get this little graph where we can see stuff. Um, but this is a lot more powerful than budgets because you can do anomaly detection. Uh, so like here it will actually check based between a range as opposed to just going through a particular value. But what I'll do is just set a value here like uh $50, right? So notice that it sets the line up here and this is my current spend here. Right? And so back to anomaly detection, this is a lot smarter. So uh the idea is that if something is outside this band of a certain amount um then it would alert. Okay. But I'm going to go back here. I'm just going to set this to $50. And that looks okay to me. You can change the period. Six hours is fine. Um there's additional configuration. That's fine as well. We're going to go ahead and hit next. Uh and so the idea is that um you know, if it passes that red line, it will go to an in alarm state. And then what it will do is uh we want to uh have it to trigger an SNS topic. So I would generally just create a new one here. We'll just say my billing alarm. Okay. And then here we'll just set the email andrewexampro.co. And we will go ahead and create that topic. And so that is now set. I don't know if it would uh confirm it. We might have to go to our email to confirm it. So notice it says pending confirmation. So what it has done is it sent me out an email and it wants me to click that link to confirm um that I want to subscribe to it. So I might just do that offscreen to show you here. Okay. So, I'm just going to pull up my email here. Just give me a moment. Okay. And so, if I come back here, this is the email that came in. So, I'm just going to confirm that subscription says I'm confirmed. Good. And if I refresh this page, we can now see that that is confirmed. All right. So, we'll scroll down here. So, we can uh trigger an autoscaling action. So, maybe you know if you have too many servers, you say, "Hey, the cost is too much. shut down those servers. There's EC2 actions, things like that. So, these are kind of similar to um budgets, right? There's system manager actions. I imagine all these things are available in budgets as well, but budgets just makes it a little bit easier to look at. So, I'm going to just say my simple billing alarm here. We'll hit next. All right. We'll hit create alarm. And there you go. So, building alarms don't have like forecasting and things like that. Um, but you know they are they do have their own kind of special utility and so I utilize both. Okay, so there we go. We'll go back to our management console and move on to the next one. So one of the strongest recommendations that Adabus gives you is to say to set MFA on your Adabus root user account. So that's something we're going to do right now. So make sure you're logged into the root user account. So I'm going to go log out as my IM user. I'm going to go back and log in and I'm going to log in as my uh root user here. So to do that, notice sometimes it will be expanded as the IM user. Click and sign into root user. Here we'll have root user. I'm going to go ahead and enter my email that I used. And if you do switch accounts frequently, they will ask you these silly captions which drive me crazy, but uh you know it happens. You probably won't encounter it as much as I do. And so I'm going to go ahead and grab my password here and paste it on in. And so now that I'm in, what I want to do is make my way over to AM. And I'm going to go and look for users. Actually, sorry, just right here. Add an MFA root user. We're going to go ahead and hit add MFA. All right. And so that's going to bring us to this screen. And so here we can activate our MFA. And so we have a few options here. So we have virtual MFA device, U2F security key, other hardware like a gem gem gimmal token. So you know I generally use this because I have a security key and I want to show you what I'm talking about. So this is how I log into my machine or my ads account. This is a security key, an UBI key that sits on my desk. I tape it so it doesn't fall fall off the cord. But the idea is that when I log in, I have to press this little button here to double confirm before I get into my account. Uh, but if you don't have a security key, you can just use a virtual MFA. And all that means is you're going to um use something on your phone to log in. So, we'll click continue here. And so, it says install a compatible app on your mobile phone or device. And so, if you click and open this, what it will do is tell you about some things that you can use. Um so if we scroll down to virtual here they suggest uh if you have Android iPhone so auth dual mobile last path Microsoft authenticator Google authenticator so Google authenticator Microsoft authenticator and author I have all those three installed um honestly authy has the the nicest simplest um UI but I'm using Microsoft authentic authenticator quite a bit so anyway whichever you want to do it's fine but what we'll have to do is go back here and then it says use your virtual MFA app on your device camera to scan your QR code. So once you have one of those apps installed like authy or whatever one you want. What you're going to do is open up the application and I can't tell you exactly where it is, but you'll have to hit add account in your in your app. And then from there it will ask you to scan your QR code. And so uh once you're ready you hit show the QR code. You hit scan the QR code on your phone. I'm holding my phone up to my my um uh my computer screen here and it's going to find it. And I'm just going to take a moment here to rename the account so I can tell what it is. So I'm just name it AWS Sandbox because that's what I call this account. And I'm going to go ahead and save that. And so now what I can do is enter uh two consecutive MFA codes. Now this always confused me what they wanted here, but the idea is that you're going to see one code, right? whatever's on the screen right now. So, I'm going to type in it. It says 734 051. And I'm going to wait until the new code shows up. So, there's like a timer in all these apps and they go across the screen or they countd down. And so, you have to wait for that to happen. And so, I'm just going to wait here a little bit. And once I get the new number here, this one is 071 530. I'm going to hit assign MFA. And there we go. And I can't tell you how many times I like messed that up because I didn't understand the consecutive numbers. But you're just waiting for uh the number that's on the screen to enter it in and then enter the next one in to turn on MFA. And so now your account is protected. And every time you log in, you're going to have to enter in MFA. So let's log out and see what that looks like. So we'll go ahead and sign in. And uh again, we'll put in our root user account here. We'll type in 74M32T. Submit. And I need to go grab my password. So that's in my password manager. Just give me a moment here. And now it wants the MFA code. So this is in my phone. And so I'm going to go enter it in. So this one says 475 841. All right. We'll hit submit. Okay. And there we go. So, that's going to happen every single time we want to log in. Uh, I'm going to tell you that if you get one of these, they're so much easier to use because you just press the button. Okay. So, that's why I have this because I cannot stand entering the code in time and time again. Um, but you know, those are your options there. Okay. Hey, this is Andrew Brown from Exam Pro and we're looking at the concept of innovation waves. So when we're talking about innovative waves, we're talking about condraatia or K-waves which are hypothesized cycle-like phenomena in the global world economy and the phenomenon is closely connected with technology life cycles. So here is an example where each wave is irreversibly changes the society on a global scale and if you look across the top we can kind of see what they're talking about. So we have steam engine, cotton, uh railway and steel, electric engineering, chemistry, prochemicals, automobiles, information technology. And so the idea is that uh cloud technology is the latest wave. And I'm not sure if you'd fit web 3 in there as well, ML, AI, but maybe they're all part of the same wave or they're separate waves, but generally they're broken up based on this P RDE here where it says perspective, recession, depression, and movement. uh improvement, sorry. And so this is the common pattern of wave where we see a change of supply and demand. And so if we're seeing this, we know that we are in a wave and where we are in a wave. Okay. Hey, this is Andy Brown from Exam Pro and we are looking at the concept of a burning platform. So a burning platform is a term used when a company abandons old technology for new technology with the uncertainty of success and can be motivated by fear that the organization's future surv uh survival hinges on digital transformation. And just to kind of give you a visualization here is a literal burning platform. So imagine you have to jump to it jump from it to make a change. So um you know burning platform could be you know stop using on-prem and start using cloud or maybe it going from cloud to web 3. Um and that's generally the idea when we talk about a burning platform. So let's see if we can find where they're listing out all these products and services. So I'm on the adabus.mamazon.com homepage. That is the main place that you want to be. Um and they're always changing the UI on me. It used to be a nice square orange button. Now it's a black circle. Almost every year they're changing on me. It's just it is what it is. But um before there used to be a drop down for services, but maybe it's under products now. Here we go. They just called it products. And so this is all of the offerings uh that we have here. So you can see EC2. If we click into EC2, we can read all about it. Um find about its its um paid tier. One thing you're going to want to check all the time is pricing. So I usually go to this pricing tab and uh through here we will find our pricing information. Sometimes it's a bit tricky to find it. Yes, there is a calculator but honestly it's much easier just to look at the pricing directly. So here I went to on demand pricing and I'm starting to get pricing information. Uh another thing that you're going to want to navigate to often is the documentation. So often if you scroll on down below they used to have it here. Um, and so I'm not seeing in the normal location. Maybe we be in the overview page. Yeah, they changed it on me. So under resources, developer resources. No. So I guess if we want to find documentation, we're just going to have to type in EC2 documentation. And if we scroll on down here, here it is. There we go. So that's what I was trying to find for you. If we're also logged into the adabus console and again this UI has been changed again um as well we have the 49 square the numpad thing here and here we can see all of our services. Honestly I just usually type in the name of the service that I want uh and jump right to it. So if I want to go to EC2 I type in EC2. Okay but anyway you can see that they have that expanded information. I do not want Q. We have that expanded information and so there are two different ways we can find the service we want. So there you go. Hey, this is Andrew Brown from Exam Pro and we are looking at the evolution of computing power. So what is computing power? It's the throughput measured at which a computer complete computational tasks. And so uh what we're pretty much used to right as of these days is general computing. So a good example here would be a Xeon CPU processor. uh that's more of a high-end processor, not something you'd find your home computer. But when we're talking about data centers, specifically uh um you know, Inabus data centers, Xeon CPU processors are what you're going to come across. Uh then came along a new type of compute, which is GPU computing. Um when we're talking about Google uh cloud, they have tensor computing. And so this is where I get the 50 times faster based on that metric. And so I didn't have an exact metric here for AWS uh um solution for this mid-tier of computing power. So I just borrowed that 50 times there. But the idea is that GPU computing or tensor computing uh is is 50 times faster than traditional CPU. And generally that's going to be used for uh very specialized tasks when you're doing machine learning or AI. So it's not something you're going to uh be doing for your regular uh web workloads. But just understand that all of these fit. So we're not getting rid of general computing, we're just adding uh new levels of compute. Then there's the latest which is uh quantum computing. And so here we have an example of the rig rig riyetti 16q Aspen 4. And so it literally looks like it's out of um science fiction. And this thing is like 100 million times faster. It is super cutting edge. And we don't even know exactly how it works. And there's not even anything that's very applicable that we can use this for. But the idea is that we're not done with the evolution of of computing power. Things are going to get a lot faster once we solve this last one here. And so ad service offering here would be for general computing. You're looking elastic compute cloud EC2. So we have a variety of different uh instance types and they're all going to have different types of hardware with different types of general computing. um for GPU computing. This is a specialized chip that AWS has produced called the Adabus um and I don't know how to say it, but we'll just abbreviate it to infer. So Adabus infer chip. Um and this was designed as a direct competitor to GCP's uh tensor computing uh unit, the TPU. Um and so this is intended for AIM ML workloads, but it works with not just um TensorFlow, but it works with any machine learning framework. So that is one advantage it has over uh TPUs. Um and then the last one here is Adabus brackets. So you can actually use quantum computing as a service on Adabus. You could uh as of even today um the way Adabus is able to do this is they work with Caltech. So that's the California technology um university or institute. I'm not sure the name of it there. Um so it's not exactly Adabus producing this but Adabus is doing this as a partnership to give quantum computing accessible to you. Okay. All right. So, in this video, I want to just show you that Amazon Bracket is accessible to you. And if you want to play around with it, you can kind of experiment for research into quantum computing. We're not going to really do anything here. I just want to show you that uh you can access it. And so, I've actually typed in Amazon Bedrock, but you want to go to the top here and type in bracket or you can type in uh quantum quantum computing and it will bring you to the service. There might be a different screen that you're seeing here as you might have to accept some terms in order to get over to here. Um but the idea is that we have different devices that are accessible to us. So you can see u we have a variety of uh cubits that we can operate on with different types of uh devices. They've definitely changed this interface from the last time I was here. They used to have tasks and other things here. U but they have an algorithm library that you can play around with. they can launch a notebook that is already are ready to go um connected to those devices. Yeah. So tasks are now just called quantum tasks. So same thing um and here you can see the variety like where we could get access to getting um uh expert help uh so to speak. So you know if you're trying to uh do something they're going to help you connect to those locations. So nothing really interesting that we can do. Um, but if you want to take a look at the pricing here, it should be per shot. That's how it was before. Um, so here, yeah, we have per shot pricing. So that means for each uh run, that's what's going to going to cost. And we have per task. And you can see based on the cube, the cube family, uh, the cost there. The only thing I didn't see in here was the, uh, simulator. So there used to have like a simulator here on the lefth hand side, but maybe they've just moved that around. Um, yeah, I'm not sure exactly where it is, but again, this is not something we really want to play with. It's just more the fact that you can access it if you want to do it for research as the applications here are extremely limited. Um, but yeah, I just wanted to show you that it's there. Okay, cha chiao. Hey, this is Andrew Brown from Exam Pro and we are looking at the benefits of cloud and this is a summary of reasons why an organization would uh consider adopting or migrating to utilizing public cloud. And so we'll quickly go through the list here uh because in the follow-up slides we actually go into them a bit more detailed. So we have agility, page you go, economy of scale, global reach, security, reliability, high availability, scalability um and elasticity. So the thing is is that Adabus had this before. It was called the six advantages of cloud. But they have reworked it to include additional items. Um and so where you see these uh sub bullets here, those are the original six as you see 1 2 3 4 5 six. And so I kind of just put them where they kind of uh fall under the new categories there. And you'll notice that ABS has included high availability, elasticity, reliability, and security as uh new ones here. Okay. And so the thing is is that um I have always always even in my original uh uh I think in my original cloud practitioner had cloud architecture as a separate section and included all these things in here. So it's a great thing to see that ALS has included it. Um but in terms of how I organize this course, we're not going to cover them in this section because I have the cloud architecture section. So just understand that we will come to those eventually. And I would just say that adabus is still missing something on this list which is fault tolerance. So you know my list looks like this except I would add fault tolerance uh to it. So you have everything there um and disaster recovery. Okay. So the benefits of cloud is a reworking expansion of the six advantages of the cloud and we will look at the original six advantages um and then look at another one that is more of a generalized one that I I've used across my courses so that we fully understand the benefits. Okay. All right. So, this is the seven advantages to cloud. I said six, but I meant to say seven. And so, um, you know, since I've created fundamental courses for all the cloud service providers, I started to notice kind of a trend. And so, what I did is I normalized it into my own seven advantages. And this actually maps up really well to the new benefits of the cloud. So it looks like was thinking the same as I was um with the exception of those cloud architect stuff which I keep in a separate section but let's go through it and see what is here. So the first is cost effective. You pay for what you consume. No upfront cost on demand pricing. So pay as you go P A Y with thousands of customers sharing the on uh sharing the cost of resources. Adabus used to refer to this always as ondemand pricing and Azure always said pay as you go. And so it looks like Adabus now uses both on demand and pay as you go to describe them which is great. Um but there you go. Then we have global. So launch workloads anywhere in the world. Just choose a region. It's secure. So cloud provider takes care of physical security. Cloud services can be secure by default or you have the ability to configure access down to a granular level. Uh it's reliable. So data backup, disaster recovery, data replication, fault tolerance. It's scalable. Increase or decrease resources and services based on demand. uh elastic so automate scaling during spikes and drop in demand current so the underlying hardware and and managed uh software is patched upgraded and replaced by the cloud provider without interruption to you so I think this is one that isn't on the benefits of the cloud which is a really good one um but uh yeah that's the seven hey this is brown and we are taking a look at global infrastructure so the global infrastructure is basically the backbone uh to AWS. It's the physical network that connects all this stuff together. Um and it represents the globally distributed hardware and data centers. Um so and it acts just like one big thing to the end customer and that's basically the reason why you want to utilize cloud. Um and so the ads globe infrastructure is made up of many different types of resources such as regions, availability zones, direct connection locations, point of presence, local zones, wavelength zones and things like that. Uh and has millions of active customers and tens of thousands of partners globally always using this system. And if you look at the globe on the right hand side, there used to be a website where they had an interactive globe and it was really really cool and they got rid of it. But luckily I saved the screenshot and I put it there and they've kind of brought it back and you'll probably see it when we do the follow along that they've brought it back. But it's not as cool as this one. Um, and every time I have to update this course, I have to update these numbers. And so I think the last time I did it, they only had 32 launched regions. And so now they have 39. They're running out of regions because there's only so many regions in the world. Um, but for the most part, it's been slowing down. It used to be a lot more regions per per year, but uh we got what we got. Um but there you go. Okay. All right. So, I just want to show you where you can find more information about AD as global infrastructure. So, you just Google it, you'll end up on this page. And uh I mean, they just keep changing this page on me. One thing that's really nice is that they've brought back the globe. It's not as cool as the old one, but um it is good. I think the last time I even looked at this, there wasn't even Calgary on here. So, it is here now. There actually used to be a map um a flat map that made it really easier for us to see all of the stuff that's coming out. Um but we're looking around on these dots. I'm trying to find if there's any new locations. It looks like maybe in Saudi Arabia there is a location coming soon, but for the most part, uh Adabus has covered the globe pretty thoroughly. Oh, we got one down here in Chile that they have yet to uh launch, but for the most part, a lot of locations. I'm not sure how many more they can really add at this point. Uh, but you can see that we can go around here. So, I'm in Canada Central and you can see how many availability zones and when it was launched. For the most part, they're always launching everything with three. I can't imagine them ever launching any without three anymore. Um, and I don't know if they've ever actually launched any with three without three. So I think that's always been a consistent thing for AWS, but it's been so long I I couldn't even tell you anymore. One interesting thing that is different is data sovereignty. So obviously um there's been some changes in the world and there are some concerns over in Europe about the sovereignty of their data. So at this time um they now have adabus European data sovereignty which we'll be talking about in a separate um in a separate video and that's just to make it so that if you're in Europe you are comfortable running on AUS infrastructure. We used to get breakdowns in here like availability zones and things like that but they've really simplified this. I'm just trying to find it here. Yeah, it's just not the same as it used to be on here. So I guess they just really simplified that information but that's okay. Hey, we're going to still get that information through um the lecture content as it's captured uh that information there. But I used to be able to go in to a very specific location and get very specific information about each availability zone, but they're not showing us that anymore. This is definitely new as AI factories and it looks like it's AI generated. This is literal garbage. I cannot believe they have this as a page. But anyway, um obviously these things are always changing. One thing I probably would show you is regional services. So it just shows you what service is available in what region. So um for the most part most is most stuff is available wherever. But like if you are in a very particular location like I'm in Canada, you might want to go down here and just see if all the services you want to utilize are in that list. But there you go. Okay. Chowo chia. Hey, this is Andy Brown from Exam Pro and we are taking a look at regions. And regions are geographically distinct locations consisting of one or more availability zone. And so here is a world map showing you all the regions that Adus has in the world and the blue ones represent regions that are already available to you and the orange ones represent ones that Adabus is planning to open. So Adabus is always expanding their infrastructure uh in the world. So always expect there to be uh more upcoming ones. Every region is physically isolated from independent of every other region in terms of location, power and water supply. And the most important region that you should give attention to is US East one uh in particular. So this is Northern Virginia. It was ADOS's first region where we saw the launch of SQS and S3. Uh and there are a lot of uh special use cases where things only work in US- East1. And we'll find that out here in a moment. What I do want to show you is what it looks like for an architectural diagram when you are seeing a region. So notice that we have this um uh little flag here. It says US East one, US West one and inside of it we have an EC2 instance. So that is going to represent a region in our architectural diagrams. Uh but let's look at some of the facts here and understand why US East or US East1 is so important. So each region generally has three availability zones and that is by intention and we will talk about that when we get to the availability zone section. Some new users are limited to two or uh to two uh but generally there's always three. Okay. New services almost always become available first in US East and specifically US East one. Not all services are available in all regions. All your billing information appears in US East1. So that's a US East1 particular thing. Uh the cost of ADAS services vary per region. And so if you were on the marketing website or uh for global infrastructure you can see uh here in North America they'll say like when it launched how many availability zones and there might be some conditions. So you'll notice there's like aster uh beside these things here or um in this one particular there's an asterisk saying hey there are three zones but generally you're limited to two. Okay. When you choose a region there are four factors you need to consider. Uh what are the regulatory compliance does this region meet? What is the cost of this inab service in this region? What services are available in this region? And what is the distance uh distance or latency to my end users? And those are those four factors that you should remember. Okay. All right. So, we just talked about adabus regions. Now, let's talk about uh how that affects our services versus regional and global services. So regional services are scoped based on what is set in the ad as management console on the selected region. So you have this dropdown and that's what you'll do. You'll say okay I want to have resources in Canada or in Europe. U so this will determine where an adabus service will be launched and what will be seen within the adabus services console. You generally don't explicitly set the region for a service at the time of creation. I explicitly mention this because when you use something like GCP or Azure when you create the resource that's when you select the region but AWS is it has this kind of global thing which is unique to their platform. Um then there's the concept of global services. So some ads services operate across multiple regions and the region will be fixed to the word global and for these that's services like S3 cloudfront 53 AM. So the idea is if you were to go over to CloudFront and go into the CloudFront console, you'll notice that it will just say global and you can't switch out of that. Uh for these global services um at the time of creation, it's a bit different. So we were saying up here for regional ones that you don't select the region, but when you are creating global services, if you're using something like AM, there is no concept of region because they're just globally available. So you don't have to determine a subset of regions. If you're using S3 bucket, that has to be in one region. So you actually do have to select a region at time of creation. Um and then there's something like platform distributions where you are choosing a group of regions. So you either say all of the world or only North America which is more like geographic distributions. So you don't say the region in particular but you know hopefully that gives you a distinction between regional services and global services. Hey, this is Andrew Brown from Exam Pro and we are taking a look at availability zones. So availability zones commonly abbreviated as a and I will frequently use be using the term a is physical locations made up of one or more data centers. So a data center is a secured building that contains hundreds or thousands of computers. Uh and this is one of my favorite graphics I like to show. Of course uh you know would never have a dog um in their data center but I just thought that would be fun. A region will generally contain three availability zones. And I say generally because there are some cases where we will see uh less than three. So there might be two u data centers within a region will be isolate from each other. Um so there will be in different buildings but they will be close enough to provide low latency and that is within the uh 10 milliseconds or less. So it's very very low. Uh it's common practice to run workloads in at least three A's to ensure services remain available in case one or two data centers fail. And this is known as high availability. And this generally is driven based on regulatory compliance. So a lot of companies uh you know they have to at least be running in three A's and that's why AWS tries to always have at least three A's within a region. Uh AS are represented by a region code followed by a letter. So here you know you'd have US East1 which would be the region and then the A would represent the particular availability zone in that region. Um, so a subnet which is related to availability zones is associated with a uh two availability zones. So you never choose an a when launching resources. You always choose a subnet which is then associated uh to an a. A lot of services um you know don't even require you to choose a subnet because they're fully managed by AWS. But in the case of like virtual machines, you're always choosing a subnet. Okay. So here is a graphical uh representation or a diagram that's representing two availability zones. So here we have the region US east one and US west two and then we have our two A's. So here's 1 A and 1B. And so these are effectively the subnets. Okay. And so within those subnets then you can see or availability zones you will see that we have uh two virtual machines. Okay. So the US East1 region has six A's. And I thought that's just kind of like a fun fact because it is the most out of every single one. Um I don't think anyone comes close to US East one, but of course it is the most popular. It is the uh first uh um region or so it's not a surprise that that one has that many. Okay, so we just covered regions and availability zones, but I really want to make it clear uh what they look like so I kind of have a visual representation. So let's say we have our adabus region and in this particular one we have Canada central which in particular is Montreal. So CA central one. Uh and the idea here is that a region has multiple availability zones. So here you can see that we have uh 1 A, 1 B and 1 D. For some reason Adabus decided to uh not launch 1 C. Maybe it's haunted. Who knows you know. Um and then within your um availability zones they are made up of one or more data centers. So just understand that an A is not a single data center but could be a collection of buildings and that these A's um are interconnected with high bandwidth low latency networking. They're fully redundant dedicated to metro fiber providing high throughput low latency networking between so just very fast connections in between and all traffic between AZ is encrypted and these AZ are within 100 kilometers so about 60 miles uh of each other. Okay. Hey, this is Andrew. In this video, I want to cover regions and availability zones, specifically selecting them. So, in the top right corner, we have this drop down, and this determines what region we're currently in. So, right now, we're in North Virginia, US East 1, which is the most popular region and where all services and uh features are launched first. So, um if you're learning, it's the best region to learn in. But if you want to be in a region that's closer to you, look at your geographical location. So here we have US East or US West. So if you're in the west of North America, then you want to run things in US West one. Okay. And the thing is is that anything that has a one in it is generally going to be um the primary u data center where everything is launched uh and and has the most availability, right? Uh where the other ones will vary. Some of them have the same, but generally it varies. And so it just makes it for a better learning experience. Notice in Canada it says CA center 1. Technically there is uh data centers in Calgary. It doesn't show up here because down below it says there are 17 regions that are not enabled for this account. Um and so if we go into that and click there I can go ahead and enable it. I just didn't click through there. I think it shows my phone number here. That's why I was doing that. But here I can enable the Calgary one and then be able to launch resources in here. Maybe newer accounts don't do that. They might you might already see Calgary. This is an older account. I'm not making a new account for this video. Um, so understand that there could be a bit difference here uh in what is showing for you by default. Um, so anyway, everything is scoped right now to US East1. But if we were to go over and pretend that we're going to launch a virtual machine over in EC2, okay, we want to see what kind of options we have for selection. So again, if you're using another provider, you would drop down and possibly uh change the region at this step. Here we are bound to North Virginia. And so if we go down below under network settings, this is the thing that is really tied to the region is uh you know where what VPC it is. And so the VPC here is bound to um this region. Okay. But then it comes down to selecting our um availability zone. So it's not showing here. We have subnets as no preference. But if we click into here, you'll notice now we have an option for availability zone. Okay? because a virtual machine is going to launch within a VPC within a specific availability zone. So if I go here and choose US East 1 A, that's where it's going to launch. Now if I choose no preference, it'll launch anywhere. But what's more interesting here is subnet. So subnet have to belong to a specific availability zone. So if I choose this one here, uh this one, this one has to launch in availability zone five. Okay? So just understand that there are relationships between this and sometimes things are choosing availability zones or providing you options. Um but that's example of these regionally specific um services like EC2. Let's go over to S3. S3 is interesting because it's a global service. Um but it shows all regions at the same time. Okay. So it shows all regions but when you go ahead here um it used to allow you to do this but it doesn't anymore. used to be able to choose the region in here I believe but now it's just fixed at the top which is totally fine u but notice here we have global namespace and then regional namespace this wasn't even a feature um uh prior I can't remember when they added this not even maybe a few years ago or something maybe last year but uh before it used to be global namespace so when you named a bucket um like I'd say examro co if I had a bucket name there there could only be one exampro co in the world named that but now they made it regional so that you can have bucket names that are scoped per region. Still, again, there could only be one in US East here, but now that is a new option. So, you're seeing that play between availability zones, regions, things like that. Let's go over to our last example here. So, CloudFront, which is also a global service. Okay? And notice here literally says global. Okay. So, when we went to S3, it shows the region. So, you choose what you want to go in here. Technically, still a global service. Uh but you go over to here and this one is a truly truly global service as notice there's locks here you do not change what you want to go on and so the idea here and again we're not going to create one for real I'm just going to show you here but when we go through the process of creating a distribution which oh wow they really changed this on me wow they changed this well go free this is totally new I mean every time I do this it's new but that's really really new but what I'm looking for here is uh you know how we are setting what region it's This is super confusing. Can I I can't even really proceed properly. They used to have everything in one page. So I could just scroll down and show you. And so what I'm looking for here is that regional information. Wow, this is different. Um and so here if it's bound to an S3 bucket, that is one thing. Um and so that would determine where it would go is choosing its region. But here based on the resources it's going to just be dependent on what resource you're attaching it to because that's going to live somewhere. So S3 you've already created it so it lives in a specific region. Same thing with load balancer. Same thing with API gateway. Same thing with any other thing. So that's how the bounding is going to work in terms of region. We're not selecting availability zones. Generally with global services we don't care about availability zones. They just kind of decide and it's managed and you're not seeing it. But there you go. That is uh selecting regions and availability zones. Okay. Hey, this is Andrew Brown from Exam Pro and let's take a look here at fault tolerance specifically for global infrastructure. And so before we jump into that, let's just define some fault terminology here. Uh so let's describe what a fault domain is. So a fault domain is a section of a network that is vulnerable to damage if a critical device or system fails. And the purpose of a fault domain is that if a failure occurs, it will not cascade outside that domain limiting the possible damage. And so, uh, there's this very popular meme called this is fine where, uh, there's obviously a serious problem, but, uh, the person's not freaking out. And I gave it some context to say, well, the reason they're not freaking out because they know that is a fault domain and nothing outside of this room is going to be affected. Okay? So, you can have fault domains nested inside of other fault domains. Uh, but generally, they're grouped in something called fault level. So a fault level is a collection of fault domains. Um and the scoping of a fault domain could be something like a specific specific servers in a rack, an entire rack in a data center, an entire room in a data center, the entire data center building. And it's really up to the cloud service provider to define those boundaries of a domain. Adabus abstracts it all away. So you don't have to think about it. But just to compare it against something else, when you're using Azure, you actually define your fault domain. So you might say like okay uh make sure that this workload is never running on the same VM on the same rack for these things. Uh and you know you might like to have that level of control but I really like the fact that just abstracts it away. I'm not sure how they segment their uh their their fault domains but they def they definitely are some broader ones which we'll describe right now. So when we're looking at an ABS region, this would be considered a fault level. And then within that fault level, you would have your uh availability zones and these would be considered fault domains. And of course, those data centers can have uh fault domains within them. Okay? Like maybe you know they have everything in a particular room and that room is secure. So like if there's a fire in that room, it's not going to affect the other room. Things like that. Um so each Amazon region is designed to be completely isolated from the other Amazon region. the uh they achieved this with the greatest possible fault tolerance and stability. Uh each availab availability zone is also isolated but the availability zone in a region are connected through low latency links. Each availability zone is designed as an independent failure zone. And so here we have uh some kind of different language that Adabus is using. Um I've never experienced this terminology in other any other cloud service provider. So I kind of feel like it's something that Adus made up. But basically a failure zone. They're just basically saying a fault domain. But let's kind of expand on their fault uh failure zone terminology. So availability zones are physically separated within a typical metropolitan region and are located in lower risk uh flood planes. Discrete uninterruptible power supply so UPS and an on-site backup uh generation facilities. uh data centers located in different AES are uh designed to be supplied by independent substations to reduce the risk of an event on the power grid impacting more than one availability zone. Availability zones are all redundantly connected to multiple tier one transit providers and we'll talk about what those are uh in an upcoming slide. And just one thing I want to note here is that when you adopt multi-AZ you get high availability. So if an application is partitioned across as companies are better isolated and protected from issues such as power outages, lightning strikes, tornadoes, earthquakes and more. So that's the idea behind you know why we want to run in multi-AZ. Okay, because of these fault domains. Hey, this is Andy Brown from Exam Pro and we're talking about the ads global network. So the global network represents interconnections between AWS global infrastructure and it's commonly referred to as the backbone of AWS. So is EC2. So just understand that that could be used in more than one way. But think of it as a private expressway where things can move fast between data centers. And uh one thing that is utilized a lot to get data in and out of uh AWS very quickly is edge locations. They can act as on and off ramps uh to the ads global network. Of course, you can uh get to the network through POPs, which we'll talk about um you know in the upcoming slides here, but let's just talk about edge locations and what services use them. So, uh when we're talking about things that are getting onto the Adabus network, we're looking at things like ABS global accelerator, Adabus S3 transfer acceleration. And so, uh these use edge locations as an on-ramp to quickly reach ads resources and other regions by traversing the fast ads global network. Notice that the names in it say accelerator acceleration. The idea is that they are moving really fast. Okay. On the other side, when we talk about like an off-ramp, we're looking at Amazon CloudFront, which is a content distribution network. This uses edge locations to uh as an off-ramp to provide an at the edge storage and compute near the end user. Uh and one other thing that is kind of always utilizing the global network are VPC endpoints. Now, these aren't using edge locations, but the idea here is that this ensures your resources stay within the ads network and do not traverse over the public internet. So, you know, if you have uh you know, a resource running in US East1 and one in uh EU, it would and they never have to go to the internet, it would make sense to always enforce it to stay within the network because it's going to be a lot faster. So, there you go. Hey, this is Andrew Brown from Exam Pro and we are taking a look at point of presence, also known as POP. And this is an intermediate location between a native region and the end user. And this location could be a data center or a collection of hardware. So for AWS, a point of presence is a data center owned by AWS or trusted partner that is utilized by ads services related for content delivery or expediated upload. So a pop resource could be something like an edge location or regional edge cache. So as an example over here we see an S3 bucket and it has to go through a regional edge cache and then get to an edge location. Let's go define what those are. So an edge location are data centers that hold cache copies on the most popular files. So web pages, images and videos so that the delivery of the distance to the end users are reduced. Then you have regional edge locations and these are data centers that hold much larger caches of less popular files to reduce a full round trip and also to reduce the cost of transfer fees. So to kind of help put pops more in presence just in the general sense, here is a diagram I got from Wikipedia that kind of just shows a bunch of different networks. And notice where the pop is, it's on the edge or the intersection of uh two networks. So here you know we have um you know tier three and then there's tier two and there's this pop that is in between them. Okay. So tier one networks is a network that can reach every other network on the internet without purchasing IP transit or paying for peering. And so the ad of availability zones or a redundantly connected to multiple tier one transit providers. Okay. All right. So let's take a look at some ADA services that are utilizing POPs or edge locations for content delivery or expediated upload. So Amazon CloudFront is a content delivery network service and the idea here is you point your website to CloudFront so that it will route requests to the nearest edge location cache. It's going to allow you to choose an origin. So that could be a web server or storage that will be the source of the cache and caches the content of what origin would return to various edge locations around the world. Then you have Amazon S3 transfer acceleration. This allows you to generate a special URL that can be used by the end users to upload files to a nearby edge location. Once a file is uploaded to an edge location, it can move much faster within the ads network to reach S3. Then at the end here you have ads global accelerator. you can find the optimal path from the end user to your web servers. So global accelerators are deployed with an edge location. So you send user traffic to an edge location instead of directly to your web application. This service is really really great for if let's say you're running a web server in US East1 and you just don't have the time uh to set up infrastructure in other regions. You turn this on and you basically get a boost. Okay. Hey, this is Andrew Brow from Exam Pro and let's take a look at it was direct connect. So this is a private or dedicated connection between your data center office colllocation and AWS. And so the idea here is imagine if you had a fiber optic cable running from your uh data center all the way to your ads so that it feels like uh when you're using your stuff on your data center like your local virtual machines that uh there's like next to no latency. Okay. So direct connect has two very fast network connection options. We have the lower bandwidth which is at 50 to 500 megabytes per second. And then you have the higher bandwidth which is 1 gigabytes to 10 gigabytes per second. So using direct connect helps reduce network costs, increase bandwidth throughput, so great for hightra networks. It provides a more consistent network experience than a typical internet-based connection. So reliable and secure. I do want to point out the term collocation. If you never heard of that before, a collocation or a carrier hotel is a data center where equipment, space, and bandwidth are available for rental uh to retail customers. And I do want to also point out that even though it says private up here, and this is the language that AWS use, I usually just say dedicated, but the connection is private, but that doesn't necessarily mean it's secure. Okay? So, uh we'll talk about that when we reach adsvpns and how we can use that with direct connect to make sure our connections are secure. Okay? All right, so let's take a look at what a direct connect location is. So a direct connect location are trusted partner data centers that you can establish a dedicated high-speed low latency connection from your on premise to AWS. So an example of a partner data center would be one like here in Toronto, the Allied data center. So you can tell that's right down in uh the Toronto center. And so you would use this uh uh as part of direct connect service to order and establish a connection. Okay. Hey, this is Andrew Brown from Exam Pro and we are taking a look at local zones which are data centers located very close to densely populated areas to provide singledigit millisecond low latency performance. So thinks like seven milliseconds for that area. So here is a map of uh local zones that exist and ones that are coming out. I believe the orange ones are probably ones that are on their way. And so to use a local zone, you do need to opt in. So you got to go talk to AWS, probably open a support ticket to get access to it. The first one to ever be launched was uh the LA one. Uh and so um you know, when you want to see it, it looks just like a an availability zone. It's going to show up under whatever region that is because these are always tied to existing regions. So the LA1 is tied to US West uh region and the A would look like US West 2-phen LAX hyphen 1A. Okay. So only specific AA services have been made available. So there's particular EC2 types EBS, Amazon FSX, application load balancer, Amazon VPC. They probably have extended it to more services. Do you need to know that for the exam? No. But you know the point is is that there's a limited subset of things that are available. The purpose of local zone is to support highly demanding applications sensitive to latency. So media and entertainment, electronic design and automation, ad tech, machine learning. So it kind of makes sense. Like you look at LA, they're in the media entertainment and so they're dealing with lots of media content. So it has to be really low for them. Okay. Hey, this is Andrew Brown from Exam Pro and we are taking a look at Abis wavelength zones and these allow for edge computing on the 5G networks and applications will have ultra low latency being as close as possible to the users. So, Abis has partnered with various telecom companies to utilize their 5G networks. So, we're looking at Verizon, Vodafone, KDDDI, SK Telecom. And so the idea here is that you will create a subnet tied to a wavelength zone and then and just think of it as like an availability zone but it's a wavelength zone and then you can launch your VMs to the edge of the targeted 5G network. So that's the network you're using uh AWS to uh deploy an EC2 instance and then when users uh connect to you know those radio tower those um the cell towers they're going to be routed to um you know nearby hardware that is running those virtual machines. Okay. And that's all it is. It's just it's just uh EC2 instances. Um but you know the advantage here is that it's like super super low latency. Okay. Hey, this is Andy Brown from Exam Pro and we are taking a look at data residency. So this is the physical or geographical location of where an organization or cloud resources reside. And then you have the concept of comp uh compliance boundaries. So a regulatory compliance. So legal requirement by government or organization that describes where data and cloud resources are allowed to reside. And then you have the idea of data sovereignty. So data sovereignty is the jurisdictional control or legal authority that can be asserted over data because its physical location is within a jurisdictional boundary. And so the reason we care about this stuff is that if we want to work with the Canadian government or the US government and they're like hey you got to make sure that you know if you want to work with us all the data has to stay in Canada and you need to give them that guarantee. So data residency is not a guarantee. It just says where your data is, right? And compliance boundaries are those um controls that are in place to say, okay, this is going to make sure that data stays where we want it to be. And data sovereignty is just like the idea of the scope of the the legal the legal stuff that ties in with compliance boundaries. So how do we do that on AWS? Well, there's a few different ways, but um let's just take a look at some ways that we can meet those compliance boundaries. one uh which is very expensive but also very cool is adabus outposts. So this is a physical rack of servers that you can put in your data center and you'll know exactly where the data resides because you know it's physical if it's in your data center and you're in Canada that's where it's going to be. Okay. Uh and I believe that you know there is only a subset of uh adabus services that are available here but you know that is one option to you. Another is using like um services for governance. So like one could be adabus config. This is a policy as a code service. So you can create rules to continuously check adabus resource configuration. So if they deviate from your expectations, you're alerted or adus config can in some cases autored remediate. So if you were expecting you know um you know you had an adus account and you're saying this account is only to be used for candid resources and somebody launches let's say something in another region then you could get an alert or tell ads config to go delete that resource. Okay. Now if you want to prevent people from doing it uh altogether that's where IM policies come into play. So these can be written explicitly to deny access to specific adabus regions. And you know this is great if you're applying it to users or roles. But if you wanted to have it organizationalwide across all of your um ads accounts you can use something called a service control policy that is just an IM policy that is used within ads organizations that makes it organizationalwide. Okay. Hey, this is Andrew Brown from Exam Pro and we are looking at AD as 4 government. So to answer that we first have to understand what is public sector. So public sector includes public goods and government services such as military, law enforcement, infrastructure, public transit, public education, healthcare and the government itself. So ABS can be utilized by the public sector or organizations developing cloud workloads for the public sector. And IS achieves this by meeting regulatory compliance programs along with specific governance and security controls. So this could be meeting the requirements with HIPPA, Fed ramp, um CJIS and FIPS. Okay. So AIS has a special regions or special regions for US regulation called GovCloud which we'll talk about next. Okay. Hey, this is Andy Brown from Exam Pro and we are taking a look at GovCloud. And to understand what GovCloud is, we need to know what Fed Ramp is. So Fedramp stands for federal risk and authorization management program. It's a US governmentwide program that provides a standardized approach to security assessment, authorization, continuous monitoring for cloud products and services. So now that we know what FedRAP is, what is GovCloud? Well uh and again it's not particular to AWS because Azure has GovCloud as well but a cloud service provider like ads or Azure gener will offer an isolated region to run fed ramp workloads and so in AWS it's called govcloud and these are specialized regions that allow customers to host sensitive controlled unclassified information and other types of regulated workloads. So gov cloud regions are only operated by u uh by US citizens on US soil. They're only accessible to US entries and root account holders who pass a screening process. Customers can architect secure cloud solutions that comply with Fed Ramp. Uh DO the DOJ's uh criminal justice information systems uh security policy the US international traffic and arms regulation uh uh export administration regulations the department of defense cloud computing security requirements and guides. So if you want to work with the US government, you want to uh engineer and use GovCloud. Okay. Hey, this is Andrew Brown from Exam Pro and we're taking a look at uh running Adabus in China. So Adabus China is the Adabus cloud offering in mainland China. Adus China is completely isolate intentionally from Adabus Global to meet regulatory compliance for mainland China. So that means that if you make a workload on the ads global uh you can't uh interact with it within the ads China one. Okay. It's basically treated like a a completely separate service like ads has its own Chinese version. Uh and so ads China is on its own domain at amazon.cn and for everybody else that's what's considered ads global. So when I'm using adabus from Canada or use it from the US or from India or from Europe or wherever that is the adabus global. Okay. So in order to operate in adabus China regions you need to have a Chinese business license. So ICP license not all services are available in China. So uh you will not have the use of route 53. Uh and you might say well why not just run in Singapore and it was global and you could do that but the advantage of running in mainland China means that you would not have to traverse the great firewall. Okay? So all your traffic is already within China. So you don't have to uh deal with that. Adabus has two regions in mainland China. So uh there's this one here which is the northwest region operated by NSW WCF. And then you have the one in Beijing, North One operated by uh Synnet. So you know Adabus just could not meet the the compliance requirements. So they had to partner with local providers uh or data centers. And so that is how that works. Okay. Hey, this is Andrew. This video I just want to show you where to go if you're interested to seeing the Chinese version of AWS. So, up here we're on adabus.amazon.com. That is the one that we all know. But if you go to Amazon adabus.cn, this is where you're going to get the one where um it's uh adabus infrastructure hosted on mainland China. Um notice here that they do not have the name Adabus here. And there's a good reason for that. It's because there was a trademark um thing where Adabus is not allowed to use the name AWS specifically um for whatever reason. I'm not going to get into the politics as to why. But anyway, over here, if you go ahead and create an account, you're going to notice that there is uh basically a bunch of onboarding instructions. So, you can't just simply make an account, right? you have to um you know basically pass whatever their business registration certificate and other stuff here. So there's a lot of steps involved but it's just kind of interesting to see u that there is another version and you know there's those little things that tell you that it's different. Okay. Hey, this is Andy Brown from Exam Pro and we are looking at sustainability for Adabus global infrastructure. And before we talk about that, let's talk about the climate pledge. So, Amazon co-founded the climate pledge to achieve net zero carbon emissions by 2040 across all of Amazon's businesses, which includes AWS. If you want to find out more information, go to to sustainability.aboutazon.com. There's a lot of great information there, and you'll learn exactly how uh AWS is achieving this in particular like their data centers. It's very interesting. Okay, so Adabus cloud sustainably goals are composed of three parts. The first is renewable energy. So Adabus is working towards having their Adabus global infrastructure powered by 100% renewable energy by 2025 and ABUS purchases and retires environmental attributes to cover the non-renewable energy for Abas global infrastructure. So they would purchase things like renewable energy credits also known as RECC's guarantees of origin so the second point here is cloud efficiency. So AIS infrastructure is 3.6 6 times more energy efficient than the medium of US enterprises data centers surveyed. So that's going to really rely on that survey. Surveys are not always that great. So you know take that with a grain of salt. Okay. Then we have water uh stewardship. So uh direct evaporative technology to cool our data centers. Use of non uh portable uh water for cooling purposes. So, they're recycling water. On-site water treatment allows us to remove us them to remove scale forming minerals and reuse waters uh for more cycles. Water efficiency metrics to determine and monitor optimal water use for each Adabus region. And you'll find that water plays a large part on uh making these um uh these data centers very efficient. Okay. So, I just wanted to show you where you get to that sustainability information. So, I just went to Adabus Global Infrastructure. You click sustainability and that's going to bring us over to Whoops, I have my Twitter open there to the sustainability in the cloud. So, if you want to uh read a bunch of stuff here about things that are going on that Adus is up to see uh how they are progressing with renewable energy. Um there's cloud efficiency up here. So, you know, how are they being efficient? It's worth the read to really understand that there's a lot of water involved, like reducing water in data centers. I thought that was really interesting. Um, I mean, they have the podcast, but I don't think there's really much to it. A bi-weekly podcast of byite-size stories about how tech makes the world better. That's not necessarily a sustainability podcast. It's just the podcast in general. There's a download center, um, Amazon's 2020 sustainability report. So, I guess you can download the reports to see what is going on there. So, we could download the progress here and see what they've been up to. Okay. So, there's a bunch of numbers, things like that. Okay. Very short reports, but hey, at least you can download them. Okay. So, just in case you're uh very interested in sustainability. All right. Hey, this is Andrew Brown from Exam Pro and we are taking a look at ABA's ground station. And so this is a fully managed service that lets you control satellite communications, process data, and scale your operations without having to worry about building or managing your own ground station infrastructure. And so when we're talking about ground station, a really good way to cement what the service is is just think of a big antenna dish that's pointing into the sky trying to communicate with satellites because that's essentially what the service is doing. So the use cases here could be for weather forecasting, surface imaging, communications, video broadcasts, and to use ground station, the idea is that you would schedule a contact. So that's where you're selecting a satellite, a start and end time, and the ground location. And then you use an adus ground station EC2 AMI, an Amazon machine image to launch EC2 instances that will uplink and down link uh data during the contact or receive down link data in an Amazon S3 bucket. A use case could be something like you are a company, you've reached an agreement with a satellite image provider to use their satellites to take photos for a specific region or time or whatever. And so the idea is that you are using Adabus ground station to communicate uh to that company satellite and download that S uh that image data to your S3 bucket. Okay. Hey, this is Andrew Brown and we are looking at ABOS Outposts. And this is a fully managed service that offers the same AOS infrastructure, services, APIs, tools to virtually any data center, collocation space or on premise facility for a truly consistent hybrid experience. And just to kind of summarize it, it's a rack of servers running ads stuff on your physical location. Okay, so before we jump into the service or technology itself, uh let's talk about what is a rack server or just a rack. So, it's a frame designed to hold and organize it equipment. So, here's an example of a 42U rack. Uh, and there's a concept of rack heights. So, the U stands for rack units or U spaces. Uh, with it equal to 1.75 in. And the industry standard rack is a 48 U. Um, so that is a 7 foot rack. So, a full uh size rack cage is commonly the 42 high. Okay. And uh in it you might have equipment that is of different sizes. So there could be one U, 2 U, 3 U, or 4 U high. So here's an example of, you know, of an interior of Iraq. And notice that like 1 U, 2 U, 4U, they're all a little bit shaped differently. Uh but they give you kind of an idea of um you know what those are. So Outpost comes in three form factors. The 42U, the 1 U, and the 2U. So the uh the first one here, the 42U, this is basically a full rack of servers provided by Adabus. So you're not just getting the frame. It actually comes with, you know, servers. Uh and so Adabus delivers it to your preferred physical site, fully assembled and ready to be rolled into the final position. It is installed by Adabus and the rack needs to be simply plugged in to the power and network. And there's a lot of details about um the specs on this on the Adabus website, so you know, I'm not going to go through them all here. Um then there are servers that you can just place into your existing racks. So we have the one UU. So this is suitable for 19inch wide 24 in deep cabinets. It's using uh gravitron 2 um CPUs and it can have up to 64 uh virtual CPUs. We have 128 gigabytes uh 4 terabytes of local NVM storage. Um and then you have the U or sorry the 2U. So, suitable for 19inch wide, 36 inch deep Intel processors up to 128 virtual CPUs, 256 GB of memory, 8 terabytes of local NVMe storage. So, there you go. Let's take a look at cloud architecture terminologies. Before we do, let's talk about some of the roles that are around uh doing cloud architecture. So, the first is solutions architect. This is a role in a technical organization that architects a technical solution using multiple systems via researching, documentation and experimentation. And then you have the cloud architect. This is a solutions architect that is focused solely on architecting technical solutions using cloud services. Understand that in the uh actual marketplace a lot of times solutions architect is used to describe both a cloud architect and a solutions architect. And you know these are going to uh highly vary based on your locality and how companies want to use these terms. But this is just me broadly defining them here. So just don't take them as uh perfect word in terms of what they're representing. So a cloud architect needs to understand the following terms and factors uh and factor them into their designed architecture based on the business requirements. So we have the idea of availability, your ability to ensure a service remains available. Scalability, your ability to grow rapidly or unimpeded. elasticity, your ability to shrink and grow to meet the demand. Fault tolerance, your ability to prevent a failure, disaster recovery, your ability to recover from a failure. And there are a couple other things that uh that should be considered. They're not terminologies, but they're definitely important to a solutions architect or a cloud architect. And uh these are things you always need to consider uh as well. And this is just me talking to my solutions architect friends where they'll always ask me these two questions after presentation. They'll say how secure is the solution and how much is this going to cost. All right. And so for the terminologies up here, we're going to define these right away and we're going to figure these out throughout the course. We have two giant sections just on cost and security alone. Uh so there we go. The first term we're looking at is high availability. And this is your ability for your service to remain available by ensuring there is no single point of failure and or you ensure a certain level of performance. So the way we're going to do that on AWS is you'd want to run your workload across multiple availability zones to ensure that if one or two availability zones became unavailable, your servers or applications remain available because those other um those other servers are going to be there. And the way we would accomplish that is via elastic load balancer. So a load balancer allows you to evenly distribute traffic to multiple servers in one or more data center. If a data center or server becomes unavailable or unhealthy, the load balancer will route the traffic to only the available data centers within the server. And understand that just because you have additional servers doesn't mean that you are uh you're available. You have to you might need to meet a particular threshold of availability. So you might need to have at least two servers always running to meet the demand. So it's based on the the demand of traffic. Okay. Let's take a look here at high scalability. So this is your ability to increase your capacity based on the increasing demand of traffic, memory, and computing power. And we have the terms vertical scaling. So scaling up. Um this is where you upgrade to a bigger server. And then there's horizontal scaling. Scaling out. This is where you add more servers of the same size. And the great thing about scaling out or adding additional servers is that you're also going to get um high availability. So if you do need two servers, it's always better to, you know, add an additional server as opposed to having a larger server, but it's going to be very dependent on a lot of factors. Okay, so scalability and elasticity seem very similar, but there is a crucial difference and this is your ability to automatically increase or decrease your capacity based on the current demand of traffic, memory, and computing power. Again, it's the it's the fact that it happens automatically and you can go both ways, increase or decrease. So for horizontal scaling, we have the concept of scaling out. So add more servers of the same size and then scaling in removing underutilized servers of the same size. And vertical scaling is generally hard for traditional architectures. So you'll usually only see horizontal scaling described with elasticity. Um and the way we would accomplish uh being highly elastic is using autoscaling groups, ASGs. And this is a native feature that will automatically add or remove servers based on scaling rules you define based on those metrics. Okay, let's talk about being highly fault tolerant. So this is your ability for your service to ensure there is no single point of failure preventing the chance of failure. And the way we could do that is with failovers. So this is when you have a plan to shift traffic to a redundant system in case the primary system fails. A very common example is having a copy or secondary uh uh uh of your database where all ongoing changes are synced. The secondary system is not in use until a failover occurs and it becomes the primary database. So when we're talking about databases on AWS, this is the concept of RDS multi-AZ. So this is when you run a duplicate standby database in another availability zone in the case your primary database fails. And last here is high durability. So this is your ability to recover from a disaster and to prevent the loss of data. So solutions that recover a disaster uh from a disaster is known as disaster recovery. So do you have a backup? How fast can you restore the backup? Does your backup still work? How do you ensure current live data is not corrupt? And so maybe a solution on ads would be using cloud endure which is a disaster recovery uh service which continuously replicates your machines in a lowcost staging area in your target as a account and preferred region enabling fast and reliable recovery in the case of an IT data center fails. Okay. So to understand disaster recovery we need to know more about uh things around it like business continuity plans BCPs and RTO's and RPOS's. So uh a BCP is a document that outlines how a business will continue operating during an unplanned disruption in services. So it's basically the plan that you're going to execute uh if that happens. And so here we have a disaster and you can see that there's a chance of data loss and downtime. And these two um uh factors as RPO and RTO are going to define the length of these durations. So recovery point objective is the maximum acceptable amount of data loss after an unplanned data loss incident. Express this amount of time. So how much data are you willing to lose? And then recovery time objective. So the maximum amount of downtime your business can tolerate without incuring a significant financial loss. So, how much time you're willing to go down. Okay, so those are the two there. And now let's go take a look at the disaster recovery options that we can use to define in our uh our BCP. So now let's take a look at our disaster recovery options. Uh and based on what you choose, they're going to be a trade of cost versus time to recover based on the RPOS's or RTO's, of course. And so sometimes this is rep represented vertically like a uh a thermostat or you can do it horizontally here. Um both are valid ways of displaying this information but I just have it horizontally here today. And so we have low or high or you could say um even though I don't have it written here. This could be cold or this could be hot. Okay. So um on the lefth hand side we got backup and restore pilot light warm standby multi-active site. Notice we're using the like the words like pilot, light, warm, things that are relating to temperature. So again, cold and hot. All right. So let's just walk through what each of these things conceptually do uh in terms of architecture. So when you're doing a backup and restore, you're back you basically back up your data and uh at the time of disaster recovery, you're just going to restore it to new infrastructure. Uh for a pilot light, the data is replicated to another region with the minimal services running to keep on replicating that data. And so you might have some core services running. A warm standby is a scaled down copy of your infrastructure. So you basically have everything that you would absolutely need to run an application, but the idea is it's not at scale. And so at any time when there's an incident, you're going to scale up to the capacity that you need. And then you have multi-sight active active where you you have a scaled up copy of your infrastructure in another region. So basically everything you have identically in another region. And so in terms of the RPOS's and the RTO's for back and restore you're looking at hours uh with the pilot light you're looking at 10 minutes with a warm standby you're looking at minutes and multi-sight uh active active you're looking at uh real time. So you know hopefully that gives you an idea of you know the difference in terms of scale but let's just look at more detail. So for a backup and restore this is for low priority use cases restore data after event deploy resources after an event and it's very cost-effective. Uh for pilot light you this is where you have less stringent RTO's and RPOS's so that you're going to be just running your core services. Uh you're going to start and scale resources after the event and this is a little bit more expensive. This is uh very good for warm standby is good for business critical services. So you scale resources after the event. Uh and it's uh almost very it's very it's costly but it's not as expensive as a multi-sight active active. So you get zero downtime near zero loss. uh you have it's great for mission critical services and it's just as expensive as your original uh infrastructure. So you're basically doubling the cost there. Okay. So we already defined RTO but let's redefine it again based on what Adabus describes in their white paper and just look at how it maps against um the disaster recovery option. So re recovery time objective is the maximum acceptable delay between the interruption of service and restoration of service. This objective determines the uh what is considered an acceptable time window when service is unavailable and is defined by the organization. And so this is the diagram found in the white paper. And so on the left hand side we have cost and complexity here and then lengths of service interruption. And what you can see here is that the cost and complexity for a multi-sight active active is very high but the length of service interruption is zero. And then as we go down we have warm standby. So it's significantly like at least half uh the complexity of that one. Then we have our pilot light down here and backup and restore. But notice backup restore takes the longest amount of time. And notice here we have a recovery time objective. So in your BCP you kind of define where that is based on the cost of business impact. So you might have to calculate that saying okay what is our cost over time based on the length of service interruption. Where do we want our RTO to be? What is the acceptable recovery cost? And this is where you're going to decide what you want to do. So here we have pilot light and backup and restore. And so this company you has to decide whether they want to do a pilot light or they're going to do a backup and restore. But it sounds like this is where they're going to be, which is at the pilot uh light for what is acceptable in their business use case. Okay. Well, let's do the same for RPO. So, recovery point objective is the maximum acceptable amount of time since the last data recovery point. The objective determines what is considered an acceptable loss of data between the last recovery point and the interruption of service and is defined by the organization. Again, we pulled this from the AWS white paper for disaster recovery and uh we have cost and complexity, but this time it's replaced with data loss before service interruption. So, uh for multicight again, it's going to be very expensive and high up here. As you noticed, it's not like a perfect um uh curve. It's just it's a bit different in terms of what it looks like. So, here we have warm standby pilot light. Um, and so you'll see that the data loss is um, not a big deal, but for backup and restore, it really juts out there. So you can see that you can get pretty good results just with a pilot light and the cost and complexity is very low. Again, we have to look at our cost and business impact. So we got to follow that line and we need to see where our acceptable uh, recovery cost is. And so uh, you're going to notice that uh, we have a bit of an intersection here. Okay. Okay. And so we need to determine, you know, like are we going to be doing a warm standby? It looks like we have the cost to do it. Um, but you know, it just really depends, you know, do we want to be down here or down there. Okay, so hopefully that helps and visualize that information for you. Hey, this is Andrew Brown from Examro and what I want to show you here is a real world architectural diagram. I created this a while ago. This is a previous version of the um exam pro or technically teacher seat platform uh that powers the learning experience uh for by cloud certifications. And so I'm hoping that by giving you some exposure you'll absorb some information here uh and that will carry through to really help you cement what these services do and how they work together. Um now you might be asking how did I make this? Well I'm in Adobe XD. It's by Photoshop or sorry Adobe. It's free to download but there's a lot of options out there and but the first thing you'll need is those ads architectural icons. So these are free on AWS. You can download them in PowerPoint, download them as assets as SVGs and PGs, which is what I have done and start using them in your um uh whatever software you like. There's also thirdparty providers out there. So like there's Lucid Charts. I love Lucid Charts, but I don't use it to make architectural diagrams uh for AWS. Um but you know, you can drag drop and stuff and they already have the library there. And there's a bunch of them that you can choose from. So uh you know, that's interesting. But let's take a look at one that we can download. Maybe everyone's familiar with PowerPoint. So here is the Adabus architectural icons. And the reason I'm showing you this is not because it just contains icons, but it also suggests how you should build them. So if I go through here, they'll give you a definition of those system elements, uh how they would look like here. So we have our group icons, our layer group, our service icons, resource icons, where they should go. Uh and then they have some interesting guidelines of like dos and don'ts. So here's like a simple example of a get to an S3 bucket. Um, here's an example of using VPC, subnets, and things like that on the inside. Um, and then you can see kind of like all the groups that we have. And it'll show all like the uh the um arrows. It's a big faux paw to make u diagonal arrows. That's just something that Adabus defined, but you'll see a lot of people do them anyway. And then you'll see all the icons. So, do you have to make them like Adabus suggests? No. But, you know, if if you like the way they look, that is fine. Everyone just does whatever they want honestly. So anyway, now that we've seen, you know, how we can go get the resources to make our own. I have Adobe XD open up here. And so I just kind of want to walk you through what's going on here. So again, I said this is a traditional um uh architecture, meaning that it's powered by virtual machines. And so what we need to look for uh is EC2 because that's where it's going to start. That's our virtual machine. And you'll notice we have one here. So there's a T2 um uh that's running over here. And then over here we have a T2. Okay, so uh we have a blue and a green environment. So this is our running environment. So I'm just going to zoom on in here. Okay, so the web app would be running on this. And um and then on the outside here we have an autoscaling group. And so autoscaling groups allow us to um manage a group of EC2 instances. And they will automatically scale if the demand increases or or or decline. So if this machine can't handle it, it will just automatically provision a new one. And so I've contained it in this environment here because I'm representing a blue green deploy meaning that when I deploy this will get this will be the environment that replaces things. And so you can see I have a lot of lines being drawn around here. So um over here we have uh um parameter store. So parameter store is a place where we can store our environment variables um or application configuration variables. And so I have this line going here and it's just saying we're going to take these environment variables and put them into the application. Okay. Uh and then there's also uh the database credentials. So here we are using Postgress over here. So and then we need the database credentials. So we're grabbing those database credentials. Those are stored in secrets manager and we're giving to the application. So the app knows how to connect to the database and this one knows how to uh configure it. Okay. Then we have um a bunch of uh buckets here for different organizations. And so you know S3 is for storage. So this is a way we're going to um store a variety of things. So like user data, assets, artifacts, cloudformation templates. So some of this is for the app, some of them is for the infrastructure. So that's one thing there. Okay. Then over here we have u a CI/CD pipeline. So we have code pipeline. And so code pipeline is triggered by GitHub. So we put our code in GitHub and when that happens it's going to do a code build. So that's going to build out a server. Um and then from there it's going to run another code build server and then from there it's going to then um uh uh use code deploy. And so code deploy is going to trigger a deploy. What it will do is create a new environment. So it's going to create a copy of this um sorry it's going to create a cop this is actually the environment that's running. So we'll copy that and that will be our new environment, right? Okay. And so when the deploy is done, it will swap it and then that environment will become this new one. Um and so you know again this is actually really the the running server. It's just kind of easy to get hung up on this one. But the idea here is that um you know that's how deployment works. But let's say uh you know we want to get uh traffic to this actual instance. This is going to come through the internet and the internet's going to probably go to ref. case of ref3 is used for domain names. So this be like examro.co teachersseek.com. We pass that over to our elastic load balancer which in this case is an application load balancer. That's why it's called ALB and that's going to distribute the traffic there. If we wanted to run the server in another um in another availability zone so that we make it highly available um you know ALB the elastic load balancer application load balancer is going to uh have some traffic go here and some traffic go there. So this is just uh the blue environment or whichever the current environment is over here. Now when we want to deploy new versions, we're going to use launch templates and launch templates um uh are necessary when using autoscaling groups. So um you know you do have to define launch template. It just says like what is the shape of this instance type like what's this family? What should it be? And then we need an Amazon machine image. So our Amazon machine image is customuilt because we are installing all the stuff that we want on it. And so in order to automate that process, we are using um SSM automation documents. So SSM stands for systems manager and automation allows you to automate that step. So what it's going to do is launch an instance, install Ruby, install Postgress, download the codebase, then it's going to create that AMI and then um it will do a bunch of other stuff here as well. And this is going to run weekly or actually at the time uh it was running nightly. So, we're doing nightly builds so that we would always get the latest um updates to our server. Um because it's a virtual machine, there could always be uh new updates for that Linux version or Amazon machine limit Linux version we were using. And then there's a bunch of other stuff here. So, you know, um hopefully that kind of gives you an idea like the complexity of it and you know, this is how I like to make my architectural diagrams very in detailed so that we can um look at them. But yeah, if that was too much, that's fine. But, you know, that's just the complexity of it. If you build your own, you'll start to really grasp this stuff pretty well. Okay. So, what I want to do is just show you how high availability is built into some ads services where in other cases you have to explicitly choose that you want something to be highly available. Uh, so what I'm going to do is make my way over to S3. And so with S3, this is where you can create S3 buckets. And this allows you uh to store things. And so the great thing about S3 is that it's basically serverless storage. So the idea is that you're just going to choose your region and by default it's going to replicate your data across multiple um uh data centers or a so this one's already highly available by default with the standard tier and so that is something that's really nice but other services uh you know like EC2 the idea is that you are going to launch yourself an EC2 instance so we would launch that one and the problem with this is that if you launch a single EC2 that is not highly available because it's a single server running in a single um a so here you know we would choose our subnet our subnet is our availability zone but you'd have to launch at least two additional servers and then you'd have to route um uh you'd have to uh have something that would balance uh the traffic to the to the three which is a load balancer and so in this case you have to construct your high availability then you have services like elastic beantock this is a platform as a service um and we'll go to environments here. I'm not sure it wasn't showing up there. And so the idea is that with elastic beantock, I'm just going to click on the main service here. You're going to go ahead and uh create your application or create your environment. You probably want to create an environment first here. Okay. And so I would choose a web server. And then the idea is I just name it so my application here. My uh environment. And then down below you go configure more options. Whoops. It wants me to choose everything. That's totally fine. and we say configure more options. We're not going to create it because um we don't want to create one. But the idea is that uh you you could choose whether you want this to be high highly available or not. So see it's a single instance. So free tier uh and then if you choose this what it's going to do is set up a bunch of stuff for you. So it's going to set up an application load balancer for you. It's going to set up autoscaling groups for you to make it highly available. It's going to run at least uh between one to four instances. So this does everything that uh EC2 you'd have to do manually setting up. So that's really nice. Okay. So you know some options have that. If we make it our way over to RDS and again we're not creating anything. We're just looking at the options it gives us when we uh start things these up here. We'll make our way over to RDS when it gives us a moment here. And if we go ahead and create ourselves a new database and we look at something like a Postgress database, notice that we have a production option and a dev test option. And so I mean usually it shows us the price down here. So even test dev is $118, which is not true. It can get cheaper than that. But the idea is that when you choose between these two options, um it's going to set up uh multi-AZ. It's going to that means that it's going to run an additional um uh database in another availability zone, replicate that data over so that it stays highly available. Um you know, it's going to have autoscaling uh uh part of it. And so some services you just choose it abstractly. So you just have to understand what high availability is going to mean underneath. So hopefully that kind of gives you a picture of high availability on AWS. Hey, this is Andrew Brown from Exam Pro and we are looking at Adabus application programming interface also known as Adabus API. So before we talk about uh the API, let's describe what application programming interface is. So an API is software that allows two applications or services to talk to each other and the most common type of API is via HTTP requests. And so the ads API is actually an HTTP API and you can interact with it by sending HPS requests using an application interacting with APIs like Postman. And so here's kind of an example of what a request would be that would be sent out. And so the way it works is that each ad service generally has a service endpoint. So see where it says monitoring, that's going to be Cloudatch. So sometimes they're named after the services, sometimes the name is a bit obscure. And of course, you can't just call uh call an API request without authenticating or authorizing. And so you have to sign your request. And so that's a process of making a separate request uh with your ad credentials to get back a a temporary token uh in order to authorize that. And I don't have room to show it, but the thing is is that what you'd be uh also going along with this request would be to provide an action. So when you look at um the AWS API, it will show you a bunch of actions that you can call. They're basically the same ones you'll see in the IM policies. So it could be like describe EC2 instances or list buckets. Um and they can also be accompanied with parameters. Okay. So you know, we're probably not going to show you how to uh make an API request directly because that's not something that you would generally do. Um, but what you would do is you'd probably use the ads management console which is powered by the API. Use the ads SDK which is powered by the API or using the ads CLI. So we'll cover all those three. Okay. Hey, this is Andrew. I want to show you um a little bit about the Adabus API. So if we go here to the top and type in docs.adus.amazon.com, we get the documentation. Uh, last time I recorded this was about a few years ago and they've dramatically changed this. It's actually gotten worse as I think that they've uh gotten rid of their technical writers and have been using AI to reorganize it. And I would just say it's very hard to find stuff um where I used to be able to find things extremely easily like things were grouped really really well together. But that's okay as I did go and hunt them down and find stuff. So the first thing I want you to know about with the AWS API is the fact that it has endpoints and we have regional endpoints and global endpoints. These are uh basically URL addresses where you're sending payloads and those and if you're authenticated it's going to send stuff back to you and so obviously we have regional endpoints and global endpoints. Regional you're going to specify the region code so exactly what region you're in. And then there's obviously service code going to let's say Dynamob EC2 wherever it needs to go. there are global endpoints for global services, right? Um, so that should be pretty pretty clear like we know CloudFront is a global service. Um, other ones like that. And so I think we talked about uh when we talked about region availability zone selection that S3 I call it like a global service, but it's not a true global service as uh obviously you you still pick the region as to what your buckets um buckets exist in. But anyway, having this URL is great and sending it a payload to it is great except uh you do need to have some way to authenticate and so or authorize and so that's where you're going to be signing. So signing is where you um basically provide a signature and it allows uh ads to know that it's coming from you. And so there's a spot where you enter in your um access key and secret or information and then it turns it into a signature and then it sends it along here to authorize access and get data back. Uh if you really want to know exactly how to hit a very specific service, let's say we want to go to I don't know CloudFront, we'll go down here. We'll get more additional information in terms of um uh you know the endpoint information um and things like that. And so previously what I would do is I'd show you Postman and we would hit an endpoint that way. But now since we have AI, I figured that this might be a great opportunity to see if it can go ahead and do that. So I'm opening chat GPT. You can use whatever you want. And I'm going to just say here um and just collapse this here on the side here. Uh can you create me an um API uh request to a service endpoint? I just want to demonstrate how to use the um AWS API directly. Um and we'll see if it can generate us some code. Okay, be back here in just a moment. So here it's showing us the concept. So it's going to be sending a get request with HTTP 1.1. It's saying to the host and then we have this authorization value. You can see our signatures over here. Um and so that's good. But here we are going to see if we have any kind of practical demo. So look at how much code is going on here. And so generally generally doing this stuff like you don't really want to do it this way directly unless you're really going lowle and you want to have full control. But let's just take a look at what we have. So no so we have access key secret as I told you we have the region the service um and then as we go down here we can see that we are we have to put in the Amazon date um and then the host here would be S3. So that is where it's going. And then we have whatever our payload is. So it looks like whatever we are sending there is going to be turned into um our end payload. Okay. And we'll scroll on down here. We're setting the algorithm. And so that I believe that's how it creates the signature. Okay. And then we have to sign it. And then we create our signature. And then in our authorization header, our signature should get passed somewhere here. Here it is. Yes. Okay. And then we've passed our authorization header. So that is the whole process. All right. I'm and for the most part that looks correct. Um but again, you know, this is not something that you would necessarily be doing unless you need to do something extremely lowle. There SDKs or other layers that make it easier. But it's just nice to see that um you know, you're literally using your access key and secret. You're creating a signature. You're passing in the authorization header and you're working with that stuff directly. Okay. Hey, this is Andrew Brown from Exam Pro and we are looking at the Adabus management console. So the Adabus management console is a web-based unified console to build, manage and monitor everything from simple web apps to complex cloud deployments. So when you create your Adabus account and you log in, that is what you're using, the Adabus management console. And I would not be surprised if you're watching this video and they've already changed um the default page here since loves to change the UI on us all the time. Uh but uh the way you would access this is via console.abus.amazon.com. When you click sign in or go to the console that's the link that it's going to uh and so the idea here is that you can point and click to manually launch and configure adabus resources with limited programming knowledge. This is known as click ops since you can perform all your system operations via clicks. Okay. Hey, it's Andrew. We are taking a look at the adabus management console. get there. We're going to sign in. And here it is. Um, it's called the AS management console because it controls the management of AWS. Sometimes we short it to console. The word console can be confusing as some people might expect to see something that looks like this, a terminal. But a terminal can be a console and a web UI, a web user interface can be a console as well because if we come over to here, I'll just show you if you were to ask TouchBT, you know, it describes it as here and then a dashboard. But the the the clear thing is that a console is a place that controls the system. So this thing controls the system. So don't get thrown off by that single word there. Um and the interesting thing is that every single service has their own console. So if I was to go to S3, this is the S3 console. So I might say S3 management console or S3 console. Same thing with EC2. We might go over here and say this this is the EC2 management console. But often we will also say EC2 dashboard or S3 dashboard. So dashboard, management console are going to be interchangeable terms. Um they keep changing this. So almost every few years they change it and I'm always really surprised. Up here we actually have a cloud shell which is a terminal. Uh and in itself it's also a console. If we drop this down here we get our notifications. So generally when there are health health changes or any additional information that we care about um we can see that there. This is not the same as Azure's notifications. Azure notifications tell you about every little thing that changes. That's not what this is here. Um, if we go over to here, this is how we can get to the support center. It used to be called support, but now it's a little question mark. But yeah, if you need to open up tickets and you have like a business plan, you can do that over there. If we drop down the cog, we now actually have options to change uh the visuals. It says beta, but it's in beta for I don't know, like two years or something. So, I mean, you can do this and change it to dark mode. I leave it on light mode as I think it's a bit easier on people's eyes. You can obviously change the language but really this is the only Whoops. It's the only it's the only change that um uh we have seen which is the light and dark mode but it's appreciated. Okay. Uh we have obviously the drop down for our regions and then over here is our accountant information. Generally uh you want to know where your account ID is. Very very useful to get. Right now I'm logged into not a root account but a another account that is tied to my organization. So it looks a little bit different uh which is totally fine. Um but yeah, there you go. Nothing confusing about it. Just remember console does not necessarily mean terminal. It just means a place where you control things. Okay. All right. So I just want to describe what a service console is. So an ad service each have their own customized console and you can access these consoles by searching the service name. So, you would go ahead and type in EC2. And then what we refer to this screen as as the EC2 console. The reason I'm telling you this is that when you're going through a lot of labs or followalongs, you'll hear the instructor say go to the EC2 console, go to the SageMaker console, go to the RDS console. And what they're telling you is to go type the the name of the service and go to um that particular services uh console. Okay. Uh some ads service consoles will act as an umbrella console containing many ads services. So uh you know VPC console, EC2 console, systems manager console, SageMaker console, uh Cloudatch console, these all contain multiple services. So you know for um for EC2 you might say okay well I need a security group. There's no security group console. It's under the EC2 console. Okay. Uh so just be aware of that. Hey, this is Andrew. I want to explore service consoles with you really quickly. um and just distinguish them from the management console or how they've changed over time and how they map over to SDKs. So um obviously this is the management console. If we go over to the EC2 service console, uh what's interesting here is that back in the day when it was EC2, all there was in here was virtual machines. We just had instances. You just launch them up. But over time they started adding more features or services depending on how you want to frame it. And so these uh these services like EC2 became not just a service in itself but an umbrella term for other services and features that live underneath. And so EC2 obviously has images uh elastic block store load balancing autoscaling. And so some of these feel like they should be really their own service consoles like load balancing but others are so tightly coupled that it makes sense that they'd be under here and they feel more like features. This has happened with so many services like so like cloudatch is a really good example of this. Okay. So Cloudatch used to just be Cloudatch logs and then they started adding metrics and all this other other crazy stuff. Uh VPCs have been around for a very long time. And so here it makes a little bit more sense because everything is networking related. Um so that's pretty clear there. Also when I did this video last like a few years ago, Adabus was still going through this process of unifying their uh interface which they appear to have completed. I used to show this and there'd be like four different styles of interface because each team had autonomy over how they would um uh implement their interface and I I believe they still do but I think there is stronger uh requirements for them to use this unified uh interface. It has a specific name I can't remember what it's called and so the experience is now pretty much unified which is nice. One thing that's interesting is if we go over to the SDK I really like Ruby so we'll look at that one. um you know each um part of the SDK will have a client for like let's say EC2 but let's say you wanted to use VPC you would expect there to be uh VPC under here right and I'm looking for it and notice that we cannot find it so where is VPC so if we type in VPC okay and this might be the slowest way to find it I I know where it is so I'm just going to find it manually here uh and it's under EC2 so if we go here and expand and it you will find here VPC and so this has to do with the historical history of these things because VPCs EC2s existed before VPCs and then when they added VPCs they put it under here and so for historical legacy reasons the SDK will often not map um uh to the service consoles or things like that. So, if you're trying to use your logic here to find this in other places, you're going to find discrepancies. And that's pretty normal for all providers as that's just how they grow. But I thought that was one worth pointing out. Um, but there you go. Okay. So, every Adavis account has a unique account ID and the account ID can be easily found by dropping down the current user in the global navigation. So, what I'm going to do is pull up my pen tool here and just show you. It's right there. Uh the ABIS account ID is composed of 12 digits. And so it could look like this or this or this. The ADUS account ID is used when logging in uh with a nonroot user account. Uh but generally a lot of people like to set their own alias because it's tiring to remember your account uh ID. The uh you use it when you're creating cross account roles. So you'd have the target account, the source account ID to gain access to resources in another account. When you're uh dealing with support cases, ads will commonly ask you what your account ID is so they can identify the account that they want to look at. And it is generally good to keep your account ID private as it is one of the many components used to identify an account for attack by malicious actor. Uh so you don't have to be overly sensitive with it, but you know try to hide it when you can when it's easy. Okay. Hey, this is Andrew and I just want to show you a few places where the account ID is used. So in the top right corner if you drop down there is our account ID. Um and notice also over here it says development and then my account ID repeated. Uh I am right now in a sub account within my organization. So if you're in your main account, this might not show up exactly the same way. Um but it's nice that you can drop down and see it. Um you really shouldn't be sharing your account ID. It's not like a big deal, but um you know that's one thing you can um keep secret. That'd be really really good. Um, but let's go over to IM because I want to show you a few places where it shows up and where you can use it. So, here in IM, you'll notice that it also uh shows up over here. So, they've kept it here since last time. And yes, I know I don't have MFA turned on. You should have MFA turned on for root accounts and your yourself. Um, this is just because this is a um teaching account. So, I'm trying to keep things simple for me here. So, one place would be creating a RO. And so if we created a role and we wanted to make a cross account role to have access to another account, uh we would say okay I want access to a account and I would specify that other key. Now of course specifying my own key is a bit silly right um but here it's expecting it but notice that it just says the digits. So we'll have to take out the hyphens. I don't know why they put the hyphens here and you paste it here. It doesn't make sense but this is one example where you would utilize it across account rule to access another account. Another place would be when you're creating policies. So let's say we wanted to create access to I don't know EC2. Um and we wanted to say uh I don't need all actions. We'll just say list actions. All right. And if we go all the way down here, we might have a request permission a condition. And this is where we are saying it has to come from a specific location. And so principal ID is normally thing principal AR and principal account. So, principal count here, we would say it equals uh string equals that number. And of course, you take that out there. And so, that would be a way for you to make it. Now, it'd be nice to preview this. If we go over to here, we can No, it doesn't show it because we have to build out the entire uh one. If you don't select all the options, they won't show it. So, maybe we'll do something simpler with like S3. All right. And then we will just choose a very very simple action like list buckets for the entire account. That way it's not going to specify that I have to add all these things here which is kind of annoying but I'll drop it down here. We'll go here. We'll try this again. Say principal account. And we'll go here and say um string like and paste that in here and take out uh those hyphens. Add the condition. If we go here to the top. Oh, it's still not showing it to us. Well, what does it want? Uh you'd think I'd have this down by now, but it just happened. So, we'll go ahead and try this one more time. list buckets. Sometimes you have to specify I'll just say all. That was probably the reason why that was happening as if something is missing it won't show it to us. And so we'll go here principal uh principal account and we will say string equals and place in this value. And I'll take this out here. And so now it should be valid. There we go. So now it's chosen. See here we have the condition. And this is where our ID shows up. So there are going to be various places. Another place would be um specifically for an instance. So if if you have a resource or something um it will show uh maybe in its AR or its account that value. And I need a previous one running. I guess I haven't launched one in a while. So what I'm going to do, don't do this. I'm just going to do this as an example, but I'm going to launch an Amazon Linux and just say whatever here does not matter. I'm just choosing the smallest one, T3 Micro. And I just want to go ahead and launch this. Okay, you don't have to do this. I'm just showing you so you can see where we might see the account ID. All right, so we'll wait a moment for that to launch. It might already have the information here even if it's not done launching. And so somewhere here it might say owner or something. They keep moving it on me, so I have to kind of look around. Um, and so we're looking for maybe owner. Here it is. Okay. But you can also see them in ARS. So I'm not sure if we get an AR here. Is there any AR? Here's the AR. And notice here there is the um account ID. So it's used in quite a few places, but just get kind of used to seeing it. I'm going to go ahead and terminate this as I do not actually want to terminate it. But there you go. All right, let's take a look at it tools for PowerShell. So what is PowerShell? PowerShell is a task automation and configuration management framework is a command-like shell and a scripting language. So here it is over here. Uh if you are a Windows user, you're used to seeing this because it has a big blue window. So unlike most shells which accept and return text, PowerShell is built on top of the .NET common language runtime CLR accepts and returns the net objects. So uh AdSools for PowerShell and this lets you interact with the ads API via PowerShell commandlets. Commandlets is a special type of command in PowerShell in the form of the capitalized verb and noun. So in this case it' be new hyphen S3 bucket. So, you know, we looked at the ad as CLI and that is generally for bash um uh you know, shells and so PowerShell is just another type of shell that's very popular and I just wanted to highlight it for those people that are uh you know used to using Microsoft workloads or Azure workloads uh that this actually exists. Okay. Hey, this is Andrew. In this video, I want to show you PowerShell. So, PowerShell, um, if I go type in PowerShell on my Windows computer here, uh, you can't see me typing it, but I'm typing it here. It'll bring up a console window. Normally, it's blue. I'm not sure why it's not blue anymore. U, but generally in past versions, it would show the blue screen, and that's how you would know that you're in PowerShell. But in CloudShell, we can launch it up, and it will start up in um a an environment that is just uh bash or Linux. And so, um, we can use PowerShell here. And so, there's a command. It's like pwnsh maybe. I can't remember what it is. So, we'll go here and just say uh start PowerShell um from cloud shell AWS. Okay. And it's not specific to AWS. It's just the general command that you utilize. Yeah. PWSH PowerShell. Okay. So, any Linux version, you can get it installed and then do this. And then now you can operate in PowerShell. PowerShell is really really good. If you're in the Azure ecosystem, um, uh, then you're probably used to it because it's the thing that's mostly heavily used. But here it says ads version 5 is now enabled by default. This includes better performance. U whatever, whatever. I'm not sure why that's saying there. And it's just saying that it's deprecated, which is totally fine. I don't care about that. So now that we're in PowerShell mode, um, the only issue is that we need to also install Adabus tools as I do not believe that it comes pre-installed. And so here what we're going to do is install the commandlet from AWS. We'll go ahead and do this and hit enter. Um and so that will give us the ability to almost start using um PowerShell here. It's funny because it says untrusted repository, but it's from AWS, but we'll go ahead and give it a Y and that will go ahead and install all of that. I should have said A for Y to all, but that's okay. And so now that's installed. If we want to use a very specific provider, I believe that we have to install the module. So here it says install module name the inst uh AWS tools installer right and now if we want to use specifically let's say um uh S3 or another one we'll do this. So I'll just install EC2 and S3 and we have the cleanup command just cleans up any junk files afterwards. We'll go ahead and do that. I'm going to do a this time to accept all of them. Okay. And we'll go ahead and say a. And so that's going to go ahead and install those modules. Yep, there it goes. And notice it's installing more than just um uh EC2 S3. It's whatever it needs along there. Seems like it's installing everything. I just wanted very specific ones. No, no, no. What are you doing? I don't want all that. So, I'm going try this again. I'm just going to go ahead and specify Whoops. Oh, it's not deleting. What is going on here? Oh, that's funky. I'm not sure why it's acting kind of strange. I guess it's kind of showing us what it can delete, but I just really want S3. So, I'm going to go ahead and try this because all I want to do is install this very specific one here. So, install tool on target adus tool. So, we'll say uh yes, and let's see if it tries to install everything. Before I just installed the one, but I'm following the instructions. You can now install the module for each service. Yeah, that's what I'm trying to do. It's installing all of them. It's not listening. So, we'll wait here until it's done. We really shouldn't have to install them all. Like, it's very clear that it should only install the single one there, but we will give it a second. Okay. Okay. And so now it's basically installed all the tools. And so, I just need to do a very simple check like list um uh S3 bucket. So what I'm going to do is go a ad aus powershell s3 list buckets and try to find the exact command. Um so we'll go over to here is we might have some examples and we'll go ahead and do we have less list list buckets. I just want to list buckets list list. No but we do have other options here. Get um get a bucket. How about make a new bucket? New bucket. Create new. I know we can make a new bucket. So, we'll go ahead here. I'm just going to grab this command and we'll go ahead and paste it in. I'm just going to call uh PowerShell new bucket and just put some random numbers here on the ends just so I'm not conflicting with anybody. We'll go ahead and hit enter. And so, that's now created a bucket. So, the reason why people like PowerShell is that it creates very consistent inputs and outputs. Um, and it's just really good at chaining these things together. Um, again, if you're from a uh a Microsoft Azure ecosystem, you know the power of these tools. Uh, so if you're an administrator, then this can make your life really, really easy. Though, it is a bit heavy to get installed, but once you get it installed, it's really, really good. Um, I just want to get you exposure to it. Okay? That's the reason why I do this video. U, but we're done. You can delete that bucket if you want. I'm not going to. It's not going to hurt me. Um, but yeah, there you go. So Amazon resource names uniquely identify adabus resources and ARS are required to specify resource and ambiguously across all of all of AWS. So the AR has the following format variations. So there's a few different things here but just notice here that sometimes it has a resource ID or it has a path so with a resource type or could be separated by a colon. So the partition um could either be adabs, China or gov cloud because this is basically the ads uh portal or URL that are completely separated from each other. Uh as we talked about those earlier in the course uh then there's the service identifier. So EC2, S3, AM pretty much every service has their own uh service that uh name here that would be identified. Then the region would be pretty obvious US East1, CA1. You'd have account ID which would be 12 digits. Uh the resource ID uh could be a name or a path. So like for um IM users, we have user Bob. This is an EC2 instance. And most of the ARs are accessible via the ads management console. And you can usually click the AR to copy to your clipboard. So here is it is for um an S3 bucket. And notice that it's a little bit different because it is a global service AWS. There's no reason to specify the region or the account ID or uh anything else there like the resource type. So straight away we already know it's a bucket. So we can just say my bucket. So that one's really short. But in other cases it's really long. So here it is for a load balancer and it has all the information there. And notice that like this has a pass is load balancer app my serverb and then it has the ID. Okay for paths and arms they can also include a wildcard asterct and we'll see these like with IM policies or or paths. These are really useful when you are doing um uh policies where you have to specify n you want to say a group of things and things like that. So there you go. All right. So now let's take a look at Amazon resource name or also known as AR. Um and so ARS are used to reference objects. They're very commonly used when you're using the CLI or the SDK to reference to something. Um the easiest example is S3, right? Okay. So, if we go over to S3 here and we create ourselves a new bucket. Um, so I'll go ahead and create ourselves a new one here. We'll say my new bucket. I'm just going to put a bunch of numbers in here. It doesn't matter. We'll hit create bucket. And what we will see if we click into this is the AR should be under properties. And there it is. Okay. So there are many cases where you might want to use the AR and a lot of times you'll just copy it and uh a very common example would be again with IM policies. So we go over to IM policies, right? And I want to get to policies here to save myself some trouble and we create a policy. You know, I might want to restrict someone to use only that bucket. So I say S3. Okay. And then I'm going to say um I want to be able to read and write from a particular bucket. we go drop down these resources here. And so here we have a lot of options. U maybe I'll just get rid of the read option. And I'm going to actually expand right because it's just creating too much work for me here. And I just want to have um put put object. That's that's the what we use to put something into a bucket. So we expand the resource here. And notice this says add the AR. So we go here and we could type the bucket name. So do that or we just paste it on in here at the top. So it's probably easier just to grab it sometimes. But if you don't know an AR, a lot of times you can just expand this and then fill it in and that's how you get an AR. So I'll put that there. It's list. Oh, you could also do it that way which is easier too. And so now if I go to JSON, is it valid? There we go. So here it's saying um this policy allows somebody to put an object into this particular bucket. And so that would be an example where we would use um an AR. Okay. Okay. Or if you're doing uh if you're using uh adabus support, you might have to use an AR to um to get help from support saying, "Hey, look at this particular resource exactly here." And then the the cloud support engineer can help you. Okay. Hey, this is Andrew Brown from Exam Pro and we are looking at the ADAS command line interface. But before we do that, we got to define some terms. So what is a CLI? So a command line interface processes commands to a computer program in the form of lines of text operating system implement a command line interface in a shell. Okay. So we have a terminal. So terminal is a text interface. So it has input output environment. Then you have a console. This is the physical computer to physically input information into a terminal. Then you have the shell. A shell is the command line program that users interact uh with uh to input commands. Popular shell programs are bash zshell and you might remember this one ms doss prompt. So this has been around for obviously a very long time. So maybe this kind of primes your mind for what is a shell. And just so you know people commonly erroneously use terminal shell or console generally describe interacting with a shell. So if we say shell or console or terminal, we're just talking about the same thing. But there is technically a difference between these three things, but most people do not care and I wouldn't worry about it too much. Okay. So now let's take a look at the ads command line interface, which allows you to programmatically interact with the ads API via entering single or multi-line commands into a shell. And then here I say or terminal, but really it's just the shell. Okay, so uh here is an example of one. So we're trying to describe uh EC2 instances and then we're getting the output because we asked to have it back in this table like view. So the ad CLI is a Python executable program. So Python is required to install the ad CLI. The CLI can be installed on Windows, Mac, Linux, Unix. The name of the CLI program is AWS. You'll notice that up here in the top left corner. There's a lot more to this, but this is all we need for now. Okay. Hey, this is Andrew Brown from Exam Pro and we are taking a look at the Aless CLI and the easiest way to get started with this is actually via the cloud shell. So, you'll notice this little icon here in the top right corner that is cloudshell and it's going to allow us to um uh programmatically do things without having to set up our own environments. So, if I just click that there. Okay. Uh and I say do not show again. Close. And by the way, if you don't see CloudShell here, it could be your region. So like if I go to Canada Central, it doesn't have it there. And so if I was to search CloudShell here, okay, it's going to say it's only supported in those regions. So that's a bit annoying. But once CloudShell loads, it already has our uh credentials loaded within our account. And so this is going to save us a lot of time in terms of uh you know trying to get set up with the exception that you have to wait for this environment to create. So it takes a little bit of time, but it's not that bad. Um, and while that is waiting, what I'll do is show you actually how you would install the CLI yourself. So, if we typed in ads CLI install, all right, and uh, we went here. The way you would install, I believe it's a Python library, but if we went to version two, and we just said Linux, uh, you go down here, they'll have instructions. So, you just curl it, unzip it, and do that. Um, so, you know, if it's this, and then once it's installed, you'll have the CLI commands. This is still going. So, you know, maybe I can show you what it would be like to install the CLI by hand. So, if we wanted to do that, one easy way to do this is if we just go to GitHub. Doesn't matter what repository. I'm just looking for anything here. And if I open up Git Pod. So, if we go on the top here and type in githpod uh.com maybe that I just want to see. Whoops. Maybe it's gitpods. that. Oh, Gip Pod, you're not giving me Oh, you know what? It's io. That's why. Okay. So, if we go back here, sorry. And we type in. IO. What this will do is launch me a temporary environment. And so, this is outside of AWS. So, I'd actually have to install the CLI. So, this would be a great opportunity to show you how to install the CLI. I'm just doing it this way because GitPod is free to use. and um you know it's going to set up an environment and how let us simulate installing the CLI. So here is the CLI here. I'm going to see if I can bump up the font. Um let's make the font as large as we can go. Light or dark. Dark sounds good to me. And so if we type in AWS and give it a moment, we can see that we have uh the command here. So if I say AWS S3 ls, whoops, it should be able to list things out in a bucket. So, this is what's currently in the bucket. If you're wondering how do I know what these commands are, I can just type in a CLI commands. Okay. And if we go here um and we go to the CLI reference, then we have um anything we want here, right? So, we go down here and I just want to see what's running in S3. And I go here and I scroll on down. It's going to show me commands like copy, move, remove, sync, uh MB, RB, uh list, right? And if you're looking for a particular command, you go down and say, "Okay, I'll look at ls here." And it will explain to me all the little options that we can do with it. And then it will always give me examples, right? So I can see examples like that. So if I wanted to move something into an S3 bucket. So let's say I want to create a new S3 bucket. Um we'll type in AWS S3 and just hit enter. And it should tell us um the subcomands. Maybe if I do like help like this and if we scroll on down. So I guess it just pulls up documentation. I was hoping it would give us like a tiny summary. Okay. So what we can do here because I want to create a bucket. Type in like buckets. If you don't know something, you just go ads S3 CLI create bucket. We'll go here. Um, and then what I do is I always just go to examples here. So here have ads S3 API create bucket. And I know it's unusual. There's an S3 and there's an S3 API. I don't know why that is, but it's always been that way and I I just don't question it anymore. And so here I can go ahead and create a new bucket. So I'll just go ahead and paste that command in. I do want to change it up a bit here because this name could be that has to be unique. So just to make sure I get what I want, I'm putting random numbers in here. We're going to choose the region as US East one. If I wanted to do other things here, I could scroll up and look at some flags here. So, uh, it looks all fine to me. So, I think I'll to go back here and just hit, uh, paste. Okay. And so, it created that bucket for me. If I go over to S3, and we'll wait here a moment, we can see that bucket now exists. If I wanted to place something in that bucket, what I can do is just like touch a file. So I'll just say um touch. Touch is a Linux command to make just an empty file. So we'll say um hello.txt and then it would be as S3 um it would be SP to copy it. And I'm going to give it the local path hello.txt and then I need to give it the bucket address. So it' be S3 col/ the bucket name. So we named it this. I'm not even going to try to type that in by hand because it's too hard. And then I want to say where I want to put this file. So I'm going to say hello.txt. And if I'm right, that should work as expected. And so it says I uploaded that file. I make my way back over to S3. I refresh. There is the file. If I want to copy this file back locally. Um, all I have to do I'm just going to remove I'm going to delete the original hello txt file. ls to show you that there's nothing there. And what I need to do, oops, is just revert this. So instead of saying the address here, we can go and type in hello.txt. And if I do ls, there's the file. If you don't know what the address is of the bucket, um, a lot of times you can go here and find it. So it should be because they're always changing this UI on me. But we'll go to properties here. And there that's the AR. Uh, usually a good way to find it is if you go into an actual object. So if you go here, it'll give you the full URL. So I could have grabbed that and I could have just pasted that in there. Um, but you know, you learn after time. It's not hard to remember this. S3/ the unique name. I do want to show you how to install it by hand. So here I'm in Git Pods. Um, I'm not sure how I can change this to a dark theme because I really don't like this on my eyes. We'll go down below here to color theme and we'll say get pod dark. There we go. And so this is a temporary workspace. So when I close it, it'll be gone. So that'll be totally fine. And so I'm going to type in as to see that it's not installed. We're going to go over here. This runs Linux by default. So I already know that I'm going to use Linux. We want to use version two here. Um so for the latest version, use this command. For a specific version, no, we just want the generic one. So, I'm going to go ahead and copy this. Whoops. Yes. Allow. We'll paste that in. We'll hit enter. Okay. Then we'll take the next command. Paste that in. Hit enter. We'll go take the next command here. We'll hit enter. You can now run uh AWS. So, we type AWS. And there's the command. So uh the only thing is that if we do ads s3 ls it's not going to work because we don't have any credentials set. So we'll give it a moment to think. So it says unable to locate credentials. You can configure credentials by running ads configure. So we type in configure. And by the way this font is too small. I believe I can bump it up like this. Not a great way to do it but um it works. And so it says ads access key ID. So, what we can do is go over to IM and what I'm looking for is my particular user over here. And if you remember when we first created our account, it generated out access key. So, I go to security credentials. And so, we have a key here, but I need the secret. So, this key is useless to me. So, I'm going to go ahead and deactivate it just because I don't even want this key. And I'm going to create myself a new key. So, I'm going to have an access ID and secret. Whenever you generate these out, never ever ever ever ever show anyone what these are. These are your yours and yours alone. Okay, so this is cloud shell. We're fine. We're just going to close that for now. And I'm going to go back over to get pods here and hit enter. So that's the ID. I'm going to go grab the secret. Hit enter. Paste. And I want it to go to US East1 to save myself some trouble. Uh you can change the output from JSON to tables. I'm going to leave it as the default here. And so now if I type A as S3 LS, I get a list. And so if I want to grab that file there, I'm going to grab that S3 URI and we type in as S3 API or sorry, it's just ls, sorry, or sorry, cp. And we're going to paste that link in. And we're going to say hello.txt. And I must have done the command wrong. It's because we're missing S3 here. I just hit up on the keyboard to get that command back. And so I type in ls for list. And I mean I have some other code here. So, you know, again, any repo you want on GitHub. It doesn't really matter. Uh but you'll see there is that file. Probably shouldn't use this one because it makes a bit of a mess. Um but yeah, it's pretty straightforward. Just to one thing to show you is where those credentials are stored. So, by default, they're going to be stored in um it's going to be in the a hidden directory in your root or your home directory called ads.credentials. So if I just do like ls here, you can see there's a config file and a credentials file. CAT lets me print out the contents of that file. So I go here and it's saying the default region is US East1. This is a TOML file. Even though it doesn't have a TOML on the end of it, I just know by looking at that's what it is. Config lets you set uh defaults that are going to apply to all of your credentials. And then uh within the credential file here is the actual credentials. So if you wanted to just set them, you could go in here and just set them in here. You can also set multiple credentials. So if I go here and I'm going to open up and buy because I'm not sure how to open it up here in the main one. But if you wanted multiple accounts, you would do like exam pro and then you just repeat these with different keys, right? And then when you wanted to use an a CLI command, actually I'm going to go back here for a second. Okay. And if you want to um and by the way, I'm using VI. You never use Vim. It's a bit tricky to use. Uh you might want to use nano instead if you're if you're kind of new to this uh because this will use like regular key key cuts. And then down below it shows you what it is. So this is like controll x or alt x alt x. Nope. Control x. There we go. Um but anyway, so if I go into this file and I delete the original one, right? And now I try to do um this command here. Even though we already have that file, it should either hang or complain. I could just kill that by doing control C. If I do ads S3 LS, notice that it's hanging. So, unable to locate credentials because there's no default one. But if I go and I put profile and I say exam pro, right, it it'll now use that profile. So, that's the way we do it. Um, but hopefully that gives you kind of a a crash course into the CLI. Um, so yeah, there you go. Okay, so I'm just going to go ahead and close these off. You can delete this bucket if you don't want it. It's probably a good idea to delete this here. And I'm just going to say permanently delete. Okay, very very good. Okay, close that off. And yeah, that's the introduction to the CLI. So yeah, there you go. Hey, this is Andrew Brown from Exam Pro and we are taking a look at software development kits. Uh, so a software development kit or SDK is a collection of software development tools in one installable package. So you can use the AWS SDK to programmatically create, modify, delete or interact with AWS resources. So the AWS SDK is offered in a variety of programming languages. So we have Java, Python, Node.js, Ruby, Go.NET, PHP, JavaScript, C++, and so here would be an example of uh some Ruby code where we are creating ourselves um an S3 bucket. So we're just uploading a file there. Okay. Okay. So now what I'm going to do is show you how to use the Adabus SDK. And so, uh, to do that, we're going to need some kind of IDE, um, a a basically code editor. And so, we had looked at Git Pods, which is a thirdparty service, and that's fine, but let's take a look at Cloud9 because that is built into AWS. So, if I just type in Cloud9 here and go over to IDE, I'm going to launch myself a new environment. So, I'll hit create. I'm going to just say my SDK environment, envying environment like me. And we have some options. So, create an EC2 instance for direct access. Create it via systems manager. Run a remote with SSH. I'm going to leave it as the default. Then we have the option to choose what size. I want to leave it on T2 Micro because that is the free tier. Then we're going to scroll on down. We have Amazon Linux 2, Linux AMI. I'm going to stick with uh Amazon Linux 2. And we can have it turn off after 30 minutes. A great option for us here. And we'll go ahead and hit next. And we'll hit create environment. And so we're going to have to wait a little bit for this to launch. It'll take a few minutes. As that is going, let's go to Google, type in ads SDK um to get to the main page. And so the idea here is that there are a bunch of different languages you can use. C++, Go, Java, JavaScript.NET, Node.js, PHP, Python, and Ruby. Uh and so I'm a really big fan of Ruby. I've been using Ruby since 2005. And so that's what we're going to do it in. It's also really easy to use and it's a really great language. So um you know down below it's just showing you that there's all these different things but if we go down to the SDK here and we click on Ruby we'll we have examples where we have the developer guide the API reference and so this tells you how to get started even here it's saying like hey go get started with cloud9 which is great as well I suppose um and so here it might show you how to install it um and when we open up the API references this is what it looks like so a lot of times when I want to do something. I know it's like I want to do something with S3. So I scroll on down here and I look for S3, right? And then I just kind of like uh scroll around and look, you know what I mean? Sometimes you have to expand it, go into the client. Every API is slightly different, so you do have to kind of figure out how to navigate that. I am actually under S3 right now, so I'm looking for the client. And I just know this from memory that this is where it is. So first you create yourself a client, and then you can do API operations. So, if I wanted to like list buckets, I just search the word list and I just scroll on down and there it is. I click into that and I have an example of how to list a bucket. So, I'm going to go back to Cloud9 and it is ready and it started in dark mode. Um, if yours is not in dark mode, which really honestly, why wouldn't you want dark mode? Um, if we go up to I think it's like file, where is it? Preferences here. Got the Cloud9 option. And I'm just seeing if it like remembers my settings. I really like two two soft tabs here, but uh there should be something for themes down below. And so um that doesn't seem like that's it. There used to be like a Oh, here it is. If you go here and just choose like whatever you want. I'm on jet dark here. And so if it's on classic light or something you don't like, you can fix that there. Um but I'm just going to go here and just fiddle with my settings because I really like to use Vim uh keys. I don't recommend this if you are uh to change this if you are not a programmer. But I'm just going to change it so that I can type here efficiently. So I'm just looking for the option here. And they moved it on me. Where did they move it? It probably be like key bindings. Ah, bin mode. There we go. Again, don't do that. This is just for me so I can uh move around in a different way. So what I want to do, and by the way, it looks like this default screen. We could have just changed it here. I just clicked through all that for nothing. It was here the entire time. But um what we need is we need to make sure that we have our credentials. So if you type in as um S3 LS, that's like my sanity check that I always like to do to make sure I have credentials. Notice that we didn't have to set up any credentials. It was already on this machine, which was really nice. And so I'm going to create a new file here. And it's okay if you don't know anything about Ruby. We're just going to have fun here and just follow along. So I'm going to do example.rb. I'm going to make sure Ruby's installed by doing Ruby V. So, it is installed, which is great. Uh, you need a gem file. So, we'll say new gem file here. And if we go back to the installation guide, uh, we need the gem SDK here. Actually, I'm going to look at how to generate a gem file. Gem file because there's some stuff that goes to the top of those files like this here. I think we just need this line here. So, I'm just going to grab that. Whoops. Paste that in. Allow. Good. And uh I you can do gem ads SDK that will install everything. But uh we only want to work with S3. And so this is going to vary based on each language. But I know that if we type in S3, we'll just get S3. And that's all we really need. And so once we have that, what we'll need to do is use a bundle install. So we're going to make sure we're in the correct directory. I'm going to type in ls down below. Notice the gem file is there. And by the way, if the fonts are too small, I should probably bump those up. Let's see how we can do that. Uh, editor size, font, user settings. Good luck trying to find it, eh? Um, project. No, you'd think it'd have to be under user settings, right? Ah, here it is. Okay. So, um, this is for probably the editor. So, we'll go to 18 here. Co code editor here. I'm I'm trying to find the one for the terminal. Probably over here. There we go. Much easier. Okay. So, notice we have example.rb and gem file. So, we're in the correct directory. Make sure I save that. I'm going to type in bundle install. That's going to install the gems. Give it a moment there. It's going to fetch. Notice that it installed um the uh AdSk and everything that it was dependent on. And so now if we go over to our example.rb file, really when you're coding for the cloud, you can pretty much copy paste everything. So over here we found this code here for S3 list buckets. Um and so I'm going to go ahead and paste that on in. Okay. And I know it looks really complicated, but we can quickly simplify this. So I know that this is just the output, so I don't need that. Okay. And in Ruby, you don't need parenthesis or curlies if uh if you don't have any things there. And so all I need to do is define a client. So if I click uh I go to the top here of this file. I think we're in the client right now. All the way to the top. All the way to the top here. That's what we need. Okay. And so I'm going to paste that in. Now, uh we can set the region here. So I'm going to say US East1, right? And then you'd have your credentials. Um because the credentials are on the machine in the um uh credentials file, they're going to autoload here, I believe. So I don't think I need to set them. So I'm just going to take that out here for a second. Okay. And I can do this if I want. This is just slightly different syntax. It might be easier to read if I do it this way for you. Okay. And I don't need double client there. So we have the client. I like to name this like S3 so I know what it is. And I put puts for the response. I'm going to do inspect. And so puts is like print. Okay. And so now if I type in bundle exec, let's just make sure that it's in the context of our bundler file. Ruby example.rb. Um, we have a syntax error on this line here. Unexpected thing here. Oh, it's because of this. It's because I commented out. So I'm just going to do curly parenthesis comment out here. Okay. Actually to make it a bit easier, I'm just going to bring this down like this. Okay. And we'll paste that there. Okay. And we'll try this again. Uninitialize constants AWS. Oh yeah, we have to require it. So we have to require AWS SDK S3. I think we'll hit up. And uh we got a struck back. So it is working. We are getting an object back. If we want to play around with this a bit more, I'm just going to install another gem called Pry. Pry allows us to um inspect code. So, we're going to do bundle install. And I'm going to go back to Ruby here. I'm going to put a binding pry in here. And then if I hit up, and I do bundle exec Ruby example.rb. Um, I installed it, right? Bundle install. Yes. undefined method pry. Oh, because I have to require it again. Bad habit here. Okay, we'll hit up. And so now I have an interactive shell and I can kind of analyze that object. So we have a response. So if I type in RSP here, I have the structure object. I can type in buckets here. Okay. And it's showing me a bucket. I can give it get its name. Um, oh, I think it's an array. So I think I'd say like I'd say like zero here or I could say first. This is just the how the Ruby language works. We say name. I get the name creation date. Okay. So you get the idea. Whatever you want to do, you know, you search for it. You just say I want to delete a bucket. I want to create a bucket, right? And you look for it. So I say create bucket. Here I click on this and I can see the options and they are always really good about giving me example. And then down below they always tell you all the parameters that you have there. So that's how the SDK works. Uh but yeah, the credentials were uh softloaded here, but you could easily provide them yourself. I should just show you that before anything else just because there's some variations there. Um and I'm just trying to look for it because it is separate code. So you could do this. This is one way of doing it. So you could do it separate from the code. So if you only wanted to configure it once, right? Because you could you could have a lot of clients. you wouldn't want to keep on like for each client, you wouldn't want to put region in every time. So I could take this and put this right here. Okay? And this is the file here where we have the credentials. So this would be our um our access key and our ID. And so you never want to put your code directly just in here. So if I open up, if we go cat, you would never want to do this, but I'm just going to show as an example here. Uh, credentials. Oops. I got to get out of this exit. AS credentials. Oh, did they not even show it on this machine, which would be smart. We wouldn't really want to see our credentials here. Hit up. Say ls. Oh, no, it's there. Okay. Cat. Whoops. Credentials. There it is. Okay. So, you know, if we look here, we can see that there are credentials set. It's a little bit different. We have this like session token. I guess it's to make sure that this expires over time. But if I was to take these, okay, and I was just to paste them in here, that's one way you would do it. Um, you never ever want to do this ever, ever, ever. You never want to do this because you'll end up committing that to your code. Um, so this is really dirty to do, so I don't ever recommend to do it. Um, if you wanted to have this apply to everything, you could put it up here. And so now when we call the client, we don't have to do it. Um, of course, if the they're loaded on the machine, you don't have to do it. The other thing is like if you if you want, you could load them in via environment variables. That's usually what you want to do. So you say as uh access key, right? And then we say environment ads access secret. And so you'd set those by doing I think it's like an export um environment variables set in Linux. You think I know after like 15 years of doing this, but I never remember. So you type in export. So you go down into Whoops. Here you type in export and you just say something like I'm going to just show an example to see if it works. So I'm going to say hello world. Okay. Okay. And if I do uh hello like that echo, see it prints it out. So that's how you would set it. You'd set those there. But there's actually very specific ones that AWS uses for um the API and it's these ones here. So you always want to use those. Okay? So you'd put that in there and that in there. But of course, you know, like if they're already set on your machine, you don't have to even specify those because it would autoload those environment variables. I don't think they're set right now. If we type in echo, just take a look here. Is are they going to get autoloaded here? No. So, but anyway, so we could go here just as an example and well actually they just show them right here. So, you see your access key, but we go and we type in um export and I'm going to paste the key in there. And I'm going to go to the front of it and we're going to type adabus access key ID equals enter. And so now if I did echo on this ad as access key ID, okay, it shows up. But I just want to show you how it can kind of vary and those conditions around it. So yeah, that is the ads SDK. Um, and yeah, a lot of times you're just copying and pasting code and just kind of tweaking it. You're not really writing uh real programming. Okay, so hopefully that is less intimidating. So I'm just going to close these off and I want to close down this Cloud9 environment. Um, I might have to reopen this up in another tab. and go to the management console here and then go over to Cloud9 and just close this tab and then I'll go ahead as and delete this environment. Oops, I'll just type delete here. Even if you didn't, it would turn off after 30 minutes and you have that free tier. So, it's not that big of a deal. It's up to you whether you want to use Cloud9 or Git Pods. Cloud9's really good because it allows you to um uh it allows you to uh use it runs on a virtual machine, right? So you have a a container runtime there and so it's very easy to run containers on it. Um whereas in like I've had some issues with git pods but um yeah those are the two. Okay let's take a look at ads cloud shell which is a browserbased shell built into the ads management console. And so cloudshell is scoped per region. It has the same credentials as the loggedin user and it's a free service. So this is what it looks like. And the great thing about this is that, you know, if you have a hard time setting up uh your own shell or terminal on your computer, um or maybe you just don't have access or privilege to do so, it's just great that Adabus makes this uh available to you. And so what you can do is click the shell icon up at the top and that will expand this here. Some things to note about cloud shell is that it has some pre-installed tools. So it has the CLI, Python, NodeJS, Git, Make, PIP, Pseudo, Tar, T-Max, Vim, Wget, Vim, and more. It includes one gigabyte of storage free per adabus region. It will save your files in a home directory available for future sessions for the same ad as region. Uh and it can support more than a single shell environment. So it has bash, powershell, and zsh. Um and so adamus cloud shell is available in select regions. So when I was in my Canada region, I was like where's the little shell icon? But I realized it's limited for some areas. Okay. Hey, this is Andrew Brown from Exam Pro and we are taking a look at infrastructure as code, also known as IA. And this allows you to write a configuration script to automate creating, updating or destroying your cloud infrastructure. The way you can think of IC, it's a blueprint of your infrastructure and it allows you to easily share, version or inventory your cloud infrastructure. So, Adabus has two different offerings for IA. The first is cloud formation uh abre common commonly abbreviated to CFN and this is a declarative IA tool and then you have adabus cloud development kit commonly known as CDK which is an imperative IA tool. So let's just talk about the difference between declarative and imperative and then we'll look at these tools a little bit closer uh each. Okay, so declarative means what you see is what you get. It's explicit. It's more verbose but uh there is zero chance of misconfiguration unless the file's so big that you're missing something. uh uh commonly declarative files are written in things like JSON, YAML, XML. So for cloud form, it's just JSON and YAML. Uh and so that's that side there. So for imperative, you say what you want and the rest is filled in. So it's implicit. Uh it's less verbose. You could end up with some misconfiguration. That's totally possible. Uh but it does more than declarative. And you get to use your favorite programming language, maybe Python, JavaScript. Actually, CDK does not support Ruby right now, but I just have that in there just as a general description of what imperative is. Okay. All right. So, just a quick look at cloud for. So, cloud form allows you to write infrastructurees code as either JSON or YAML. The reason why was AD as started with JSON and then everybody got sick of writing JSON and so they introduced YAML which is a lot more concise which you see on the right hand side. So cloud formation is simple but it can lead to large files or is limited in some regards to creating dynamic or repeatable infrastructure compared to CDK. Cloud form can be easier for DevOps engineers who do not have a background in web programming languages. A lot of times they just know scripting and this basically is scripting. Since CDK generates out cloudformation, it's still important to be able to read and understand cloudformation in order to debug IA stacks. Knowing cloud form is kind of a cloud essential. When you go into the other tiers of AWS um like solutions architect, associate, professional or any of the associates, you need to know cloudformation inside and out. Okay. Hey, this is Andrew Brown. In this video, I want to show you cloudformation so that you can learn how to deploy infrastructure as code. So, we're going to go to the top right corner to create stack and new resources. And here is where we can either upload an existing template or use infrastructure composer. I wonder if they're going to keep this thing around just because AI is getting very good at generating out templates. So I'm not really sure why we would ever need to visually create one, but we'll go over here and give it a try just so we can visually understand. And so let's say we wanted to create an S3 bucket. We could drag it out here. If you go over to template, this is going to provide us um the actual template that we would upload uh and utilize. So here you can see resources and we have an individual bucket and then the bucket policy. Now I don't need a bucket policy. So you can see here that it's adding a lot of additional information that I do not need. In fact, I don't need any of this. All I need is the name, right? And so here um would be the minimal thing that we would need to create an S3 bucket. But if we wanted to take a look at where all this documentation come comes from. If we go over to as cloudformation um documentation, we go to template reference. we can basically search up any kind of resource we want and get uh information for it. So I'm just looking for yeah over here and if I just search S3 and we go to Amazon S3 um here we can go to bucket and this will tell us exactly what the structure is and what exact fields that we have. So back in the day I would literally walk through every single of these options and say okay I need uh this is required this is not required. See how they're individually required or not required. But now that we have AI, we basically can just go over to something like chatbt and I'll just provide it a reference to this link. And I'm just going to go here and say um I uh I am showing a uh example a simple example of creating an S3 bucket. What is what is the minimal um CFN template I need to deploy? And I already know what it is, right? It's just going to be the name as we see here. But we will uh take take a look here. And so it comes out with this. But the one thing that we absolutely have to have is this Adabus template um format version. Now this hasn't changed since 2010. But the idea here was that if Adabus made any dramatic changes to the cloud for structure, then we could uh bring in another one to reference it. But it just hasn't seemed to change in a very very long time. But again, this is the minimal template that we need. Okay. And we could download this and then upload it. Um, so what I'm going to do is I'm just going to copy this and using any kind of editor. I'm going to open up an editor here like Visual Studio Code. If you do not have Visual Studio Code, you really should get it. It's free. It's easy. It's over here. But I'm going to open that up quickly and save that template locally. Okay. All right. So, I just have Visual Studio Code open here. I'm just going to make a new file. We'll call this template.yaml. Um, and sometimes it does matter if it's YML or YML. Oh, to say does it does AWS prefer prefer uh YAML or YAML? I'm pretty sure it's YAML. Um, but it depends on what you're using. So, well, they say that, but basically it it usually has always been YM YAML and then when uh we had SAM SAM templates, which is for serverless, it's like a serverless version of cloudformation, it prefers the YML. But here it's saying it doesn't matter, but I I don't believe it. um as I know from history which one actually does matter. Okay. And so now what we we will do is we will go ahead and um I'm just looking for the screen here. I think we just got to zoom out here. There we go. And so if we go over to here, we can copy our template over to here and we'll drop it in. And then we'll go all the way over to here to uh back over to chatbt as it was providing us some useful information. Again, this is all stuff we can find in the docs. It's nothing's a secret here, but it takes a little bit of time and work to dig them up. And to be honest, I used to drive everything from the docs. So when I make these videos, I used to go and show you exactly where everything is. It's becoming harder because adas again has changed their documentation. It's not as good as it used to be. They've replaced technical writers with AI AI people. And so just naturally trying to find stuff is is quite frustrating. We'll go into user guide here and it might be under working with templates template format. And so somewhere here it will describe that there's an ads template format version. So you can see that everything is uh uh possible for us to find in the documentation. And so I'm just going to add a description here. say description uh deploy simple S3 bucket. Okay, I'm gonna just save that. Um and just notice here under the bucket name that it has some fancy stuff. So here you can actually inject um I don't know we they're like global variables. It's basically variables like your the actual stack name. So whatever we call the stack, it'll be injected into here. And then you have the ads account ID. That's really good when you want to have uh resources that have dynamically generated names so it's not conflicting with stuff. And so I need to get this template uploaded um into cloud form. So we'll go back over to here and I'm not going to use infrastructure composer as I I don't think that's the way you should build honestly. And so here we can see say choose an existing template provide it from S3 or upload it. I'm just going to go ahead and upload this directly. So let me go ahead and select that file. I've now selected that file. It will also validate it making sure that it's a correct format. We'll go ahead and hit next. And we'll just say create um simple cloudformation or create simple bucket. We'll go ahead and hit next. And we have some other options. Sometimes there's a option here that you do have to check. Um maybe it's on the last one. Could have swore it was here. Oh, there used to be like a roll permission one that you used to have to select all the time, but I'm not seeing it. So, that's fine. But we'll go ahead and just hit next. Go all the way down on the ground and hit submit. And so, now we're going to watch that deploy. Now, this is going to be relatively fast. Oh, we ran into an issue. Um, but um what is our issue here? So, failed likely root cause. And so it's trying to show us where it failed. And we kind of expand that and take a look. So resource handled uh return message bucket name should not contain upper characters, which is crazy because this code here came from uh infrastructure composer. So that's really interesting that it had an issue with that. Um but anyway, we can see well we had the analysis over there. Oh yeah, events. We were on events. I'm used to this this uh table table view, but anyway, we go down here. We can see that this is the issue it's having. So, we'll go back and compare this. I think the issue is that um you know, it's whatever the stack name is, right? So, if this stack name uh has title casing, it does. That's where it's running into that issue. So, what I'm going to do is go ahead and delete that stack. But, you see how you can run into like little issues like that. And we'll tear that down. And I'll go back over to here. And I'm just refreshing, making sure that is deleted. We'll go ahead and create ourselves a new stack. And I'm going to go ahead and upload that again. So, just make sure you select this. Okay. All right. And so, now we'll go ahead and hit next. And we'll say uh simple S3 bucket. I'm going to just put some numbers here just so there's no conflicts with anybody else. And we'll go ahead and hit next and submit. And by the way, you know, like I mean, you shouldn't have that issue because it's using the account ID as the bucket name. Um, but you know, I just always add numbers in there at random just so I I don't have those issues. And so again, this should go very very quickly. We can even go to the timeline view here, which is really nice. And this is new for me. I've never seen the timeline before. So it's it's very nice. I'm just done this table view, but we will Oh, it's done. Okay. And so we can go over and take a look and see if that bucket exists, which it will. Um, and I'll just sort by creation date here. And so there is that bucket. Now, if you delete this out, then it's no longer being managed by cloudformation. So, you really don't want to be uh deleting resources and modifying resources directly after you've changed them. What you should be doing is updating the code here and then repushing it. And this would be normally managed within a uh repository like GitHub or something. Um, but anyway, what we'll do is go over to cloud form and we'll go here and then we'll just delete that stack and clean up. Now, if there was something in that bucket, we'd have to empty that bucket first, which can be kind of annoying. So, that's why we didn't put anything in it. But again, we're just doing the most simple demonstration of cloud for here. Um, but normally I will teach like a whole section, basically a whole course on cloudformation, um, which is in our more advanced certifications. But anyway, there you go. Cha chia. Let's take a look here at CDK. So CDK allows you to use your favorite programming language to write infrastructure as code. And technically that's not true because they don't have Ruby and that's my favorite. But anyway, uh some of the languages include Node.js, TypeScript, Python, Java.NET. And so here's an example of TypeScript. Typescript was the first language that was um introduced for CDK. It's usually the most up-to-date. So not always does CDK reflect exactly what's in cloud form but I think they're getting better at that. Okay. So CDK is powered by cloudformation. It generates out cloudformation templates. So there is an intermediate step. Uh it does sometimes feel a bit slow. So I don't really like that but you know it's up to you. Uh CDK has a large library of reusable cloud components called CDK constructs at constructs.dev. This is kind of the concept of Terraform modules and is really really useful. uh and they're really well written um and they can just reduce a lot of your effort there. CDK CDK comes with its own CLI um and I didn't mention this before but cloudformation also has its own uh CLI. Okay, CDK pipelines uh are are allow you to quickly set up CI/CD pipelines for CDK projects. That is a big pain point for cloudformation where you have to write a lot of code to do this. Whereas um this the CDK has that off the bat makes it really easy for you. CDK also has a testing framework for unit and integration testing. I think this might be only limited to TypeScript because I didn't see any for the rest of the languages, but um you know I wasn't 100% sure there. Uh this one thing about CDK is it can be easily uh confused with SDK because they both allow you to programmatically work with AWS uh using your favorite language. But the key difference is that CDK ensures uh it potent of your infrastructure. So what that means, this is such a hard word to say, but what that means is that um you know if you use this CDK to say give me an virtual machine, you'll always have a single virtual machine uh because it's trying to manage the state of the file whereas uh when you use SDK if you run it every time you'll end up with more and more servers uh and it's not really managing state. So hopefully that is clear between the difference there. All right, let's take a look here at the Adabus Toolkit for VS Code. So, Adabus toolkit is an open source plugin for VS Code to create, debug, deploy adus resources since VS Code is such a popular uh editor uh these days. I use Vim, but it's very popular. Um I figured I should make sure you're aware of this um plugin. So, it can do four things. You get the Adabus Explorer. This allows you to explore a wide range of Adob resources linked to your Adobus account. uh and sometimes you can view them, sometimes you can delete them. It's going to vary per service and what's available there. Then you have the ads CDK explorer. This allows you to explore your stacks defined by CDK. Uh then you have Amazon elastic cont uh container service ECS. This provides intellisense for ECS task definition files. IntelliSense means that when you type uh and you uh you'll get like autocomp completion, but you'll also get a description as to what it is that you're typing out. Then there is serverless applications and this is pretty much the main reason to have the adabus toolkit allows you to create debug deploy serverless applications via samp and cfn and so uh there you can see the command pallet and you can kind of access stuff there. Okay, let's take a look here at access key. So an access key is a key and secret required to have programmatic access to adabus resources when interacting with the ads API outside of the adabus management console. So uh access key is commonly referred to as adabus credentials. So if someone says ads credentials you generally are talking about the access key not necessarily your um username and password to log in. So a user must be granted access to use access key. So when you're creating a user you can just checkbox access key. Um, you can always do this after the fact, but it's good to do that as you're creating the user. And then you can generate an access key and secret. So, you should never share your access keys with anyone. They are yours. If you give them to someone else is like giving them the keys to your house. It's dangerous. Uh, never commit access keys to a codebase uh because that is a good placeh for it to get leaked at some point. You can have uh two active keys at any given time. You can deactivate access keys, obviously delete them as well. Access keys have whatever access a user has to ad resources. So uh you know if you can do it in the adabus management console so can the key. So access keys are to be stored in the ads credentials uh file. So um and if you're not familiar with Linux, this tilda here, this actually represents your home folder. So whether you're on Windows or Linux, that's going to be your home folder. And then you have this period AWS. That means that it's a hidden folder, but you can obviously access it. And so in the it's just a toml like file. I think it's toml um but I never 100% verified that it's toml. It looks just like toml. Uh and so what you'll have here is your uh default profile. And so this is what you would use um or this is what uh any of your tools you use like the CLI or anything else would automatically use if um if you did not specify a profile. You can of course store multiple access keys and then give it a profile name. Um, so if you are doing this for the first time, you might just want to type in ads config and it'll prompt you and you'll just enter them in there as well. I think that sets the default one. When you're using the SDK, uh, you would rather probably use environment variables because this is the safest way to access them when you are writing code. All right. Um, so there you go. Hey, this is Andrew. In this video, we're going to take a look at access keys. So, we're going to make our way over to IM. Um, and from here, I will close out these other tabs from before, but we'll go over to our users. I mean, you should, as a user exists, if you have yet to do so, you should go ahead and create one. You can see we have a variety of ones. Apparently, Bedrock has been making their own, uh, which I don't really want. So, I'll go ahead and delete those. Um, which it will probably just make new ones later on. But, you can see we have some accounts in here. So, I'm just deleting old ones out of here. They're just not being utilized. But the idea is that we can go ahead and create a new user. So I'm going to go ahead and do that. And a lot of times um uh you will create users just for programmatic access. So if I have a specific project I'm working on, I will create a user for it. Um and so let's say it was for my language learning app called Hajimari, I'll go Hajimari machine user. And that lets me know that this person or this user is not a real person. And so here it says provide user access to the management console. They're not a real person. So they don't need an account. And we'll go ahead and hit next. And I'm going to give them admin access, which is pretty crazy, but we will uh keep that access despite um it being very um permissive. Just so that's very easy. We'll go ahead and create that user. So now what we can do is go down into this machine user and go into our security credentials and we can generate out security credentials for them. Okay. And so you can only have two at a time over here. API keys, access keys, access keys. Sorry. These are named very similarly. and I don't want to get too confused about it. So, what I meant to say was access keys. And so, right off the bat, they are showing us a list of options. Now, they've added this thing just so that you know you know exactly what you're doing with it to give you recommendations. But all this stuff basically does the same thing. So, I just always choose the first one. I kind of ignore it and I just hit next. And then it'll just say like um uh production server. So, we know what this key is for. And so now we have an access key and an access secret, right? And so you generally don't want to share the secret with anybody. And I mean generally I mean never share it with anybody. Um the access key is not really a secret as you can plainly see it here. But again you don't want to be sharing these pairs regardless and you want to keep these out of your repository. Uh you can download it as a CSV file which I never do. Uh but once you've generated you cannot see it again, right? So you see here there's no way for me to see it. So, if I forgot it, then I'm just going to have to create a new key. We'll go ahead and do that. And this would be we'll just say backup key. Okay. And you can see here, you know, same thing. But if you go here, like now we're we can't make any more keys. You're only allowed to have two. And so some strategies that people do is that even if you do not plan on using uh two keys, some people will fill up the uh this one here and and have the second one just so that if someone was to get into your account, they wouldn't be able to uh create a new key as there as all the spaces are used. That's a strategy for security. Um but just look here that we can deactivate the key um and keep it around. So maybe I don't know why you'd want to deactivate not delete u but I'm sure there's a security reason for that. Oh, you can reactivate it. Oh, okay. So maybe if you suspected something was wrong with it, you know, I never noticed there was an an a reactivate feature. I always just thought it was deactivated. I never actually noticed this for years, which is funny. But anyway, I guess maybe, you know, if you're utilizing it and then you you suspected something was wrong, you want to investigate, you deactivate it and then reactivate it later on. But we'll go ahead and just delete those keys. And you'll notice you have to provide the full name. So we always just copy and paste here. um which is annoying but again it just helps people prevent uh them deleting things by accident. Oh, and notice we have to deactivate first before we can delete. All right. And so those are your keys. Um I've showed you somewhere else in this course how these keys are utilized. But um you know for this I just wanted to show you the management of those keys. And I'm going to go back over to my users as I already have enough users that I'm not utilizing right now. So we'll go ahead and delete the Hajimari user. There we go. and I will see you in the next one. Okay, chowo chia. Let's take a look here at Adabus documentation which is a large collection of technical documentation on how to use Adabus services which we can find at doc.adabus.amazon.com. Uh and so this is kind of like the landing page where you can see all the guides and API references. If you expand them in there uh into EC2 and you click on the user guide, you can see HTML in PDF format, Kindle, and you'll notice there's a link to GitHub and that's because all of these docs are open source and you can contribute to them if you choose to do so. I've done so multiple times in the past. It's quite fun. So, Adabus is very good about providing detailed information about every Adabus service and the basis of this course and any Adabus certification will derive mostly from uh the Adabus documentation. So, I like to say that I'm not really coming up with new information. I'm just uh taking what's in the docs and trying to make it more digestible. And I think that's the thing is like the docs are really good. You can read them end to end, but they are very dense. Um and so it can be a bit hard to figure out what you should read and what you should not. Um but uh they are a really great resource and you should spend some time in there. Okay. Hey, this is Andrew Brown. In this video, I just want to show you where the docs All right. I don't know why they have a video here. Every day the um homepage changes. So, we'll just kind of ignore that. But if we go up to here into the top, we'll type in docs. Whoops. Keep that lower case. Docs. Amazon.com. And this is where the primary documentation is. Um it's changed over the years. Um I think it's kind of gotten worse. I think with AI, they have um maybe been using less technical writers because I noticed that the human navigation isn't as good. But let's just make sure we understand it. So that if you do need to utilize it, you can go over here and find stuff. So you can see that things are uh very servicedriven. So if there's a very specific service you need to go investigate, you will type it in. So I'm looking for elastic uh compute. Um and we have different kinds of guides. So there's the user guide and then sometimes there's just direct reference information. Uh but here you see user guide, developer guide, and then API reference. So um you know, again, it depends on what you are into, but we will go ahead and just open up two. notice you can download them as PDFs. So that is um interesting as well. Um but it's pretty darn straightforward. Like there's not much to say, but I do spend a lot of time in the documentation as it's very very valuable. Adabus out of all providers has the best documentation and often what is in here does match expectations. So even from a study standpoint, if you're just reading the docan, they're pretty darn good. Um, but again, you know, things change over time and there's all this see this AI stuff creeping in that's not as uh good as it used to be, which is fine. Um, but that's about it. Uh, the only other thing that I would say is that in the past you used to be able to contribute to the doc. So, it used to be on GitHub and I actually used to provide like code references especially for Ruby. And so, if you see Ruby code, it's probably from me. But, uh, they changed that practice a few years back. Um and so now it's I don't know this just inter internally managed but yeah that's about it. Okay. Hey this is Andrew Brown from Exam Pro and we are taking a look at the shared responsibility model which is a cloud security framework that defines the security obligations of the customer versus the cloud service provider. In this case we're talking about AWS and they have their own shared responsibility model. It's this big ugly blob here. Um, and the thing is is that every single CSP has their own variant on the model. Uh, so they're generally all the same, but some visualizations make it a little bit uh easier to understand or they kind of uh include a little bit more information at different parts of it. And so just to get make sure that you have well-rounded knowledge, I'm going to go beyond the AWS's shared responsibility model and just show you some variance. Uh there's also variance not just per uh CSP, but also the type of cloud deployment model. And sometimes these are also scoped uh based on a cloud service category like compute or machine learning. Uh and these can uh result in specialized shared responsibility models. So that's what we'll look at in this section. Okay. All right. So let's take a look at the ad shared responsibility model. And so I've reworked the graphic because it is a bit hard to uh digest. And so I'm hoping that this way will be a little bit easier for you. I cannot include the in and of here just because we're limited for space. But don't worry, we'll follow that up with the next slide here. So there are two people that are responsible or two um organizations that are responsible, the customer and AWS. And on AS's side, they're going to be responsible for uh anything that is physical. So we're talking about hardware, global infrastructure. So the regions, the availability zones, the edge locations, the physical security. So think of all that hardware that's there, those data centers, um everything like that. Then there's also software, the services that they're offering. And so um you know this extends to all their services but generally it breaks down to the four core. And so we're talking about compute, storage, database and networking. Okay. And when we say networking we're talking about like physically setting up the wires and also you know the software to set up the routing and all that kind of stuff there. Uh now looking at the customer side of it they're responsible for configuration of managed services or thirdparty software. So the platforms they use. So whether they choose to use a particular type of OS uh the applications so if they want to use like Ruby on Rails uh AM so identity and access management so if you uh create a user and you grant them permissions if you give them things they're not supposed to have access to that's on you right then there's configuration of virtual infrastructure and systems so that would be choosing your OS that would be uh the networking so there could be networking on the um uh the virtual machines themselves or we could be talking about cloud networking in this case. Then there are firewalls. So we're talking about virtual firewalls. Again, they could be on the virtual machine or it could be configuring like knackles or security groups on AWS. Then there's security configuration of data. Uh and so there is client side data encryption. So if you're moving something from S3 from your local machine to S3, you might need to encrypt that first before you send it over. Then there's server side encryption. So that might be turning on serverside encryption within S3 or turning it encryption on your EBS volume. Then there's networking traffic protection. So you know that's turning on VPC flow log so you can monitor them. Turning on uh adabus guard duties so that it can detect anomalies with your traffic or or activities within your um adabus account. And then there's customer data. So that's the data that you uh upload on the behalf of your customers or yourself and what you decide to um you know like what levels of sensitivity that you want to lock it down. Do you want to use Amazon Macy to see if any there's any public facing uh personal identifiable information? That's up to you. So there's a lot here and honestly it's a lot easier than you think. Um instead of thinking about this big diagram, what I do is I break it down into this. And so we have the in and the of and that's what I said I could not fit on the um previous slide there. The idea is customers are responsible for the security in the cloud. So that's your data and configuration. So if it's data that's residing on there or just something you can configure, you are responsible for it. On the ads side, they are responsible for the security of the cloud. So if it's anything physical or hardware, the operation of managed services or global infrastructure, that's going to be on them. And this in and of thing is very important for the exam. So you should absolutely know the difference between the two. This is kind of an adabus concept. I don't see any other cloud service provider talking about in and of. Uh so you definitely need to know it. Okay. So one variant we might see for the uh shared responsibility model would be on the types of cloud computing. This could also be applicable to the types of uh deployment models but we're doing types of cloud computing here. And so we have the customer's responsibility and then the cloud service provers responsibility. So we're seeing on premise infrastructure as a service, platform as a service and software as a service. And so when you are on prem, you're basically responsible for everything. Apps, data, runtime, middleware, OS, virtualization, servers, storage, networking, basically everything. And just by adopting the cloud, you're almost cutting your responsibilities in half here. So now the cloud service provider is going to be responsible for the physical networking uh the physical storage those physical servers and because they're offering virtual machines to you they're setting up a hypervisor uh on your behalf. So virtualization is taken care of for you. And so um you know if you launch an EC2 instance you know you're going to have to choose the OS that's why you're responsible whatever middleware there the runtime so whatever kind of programs you install on it uh the data that resides on it and any kind of like major applications. Okay then we have platform as a service uh and so you know the cloud service provider is going to take even more responsibility there. So when we're talking about this we're thinking like ads elastic beantock right? So you know the o you just choose what you want and it's all managed. So you might say I want a Ruby on real server but you're not saying what OS you need. Um you're not uh saying exact you might say what version of Ruby you want but you don't have to manage it if it breaks uh or it might be managed updates and things like that. The last thing here is like software as a service and this is something where the CSP is responsible for everything. So if you're thinking of a of a software as a service, think of like Microsoft Word where uh you're just writing uh you know writing stuff in there and you know you are responsible for where you might choose to store your data but the data is like still handled by the cloud service provider because you know it's on the cloud so on their servers right um so yeah hopefully that gives you kind of an idea across types of cloud uh computing responsibilities. All right. So, what I want to do here is just shift the lens a bit and look at the share responsibility model if we were just uh observing a subset of cloud services such as compute. And so, we're going to see infrastructure as a service, platform as a service, software as a service, and now we have function as a service. And so, that's what I mean when we shift the lens, we get new information. Uh and so you can just see that you really don't want to look at this uh from one perspective. Okay. So starting at the top here we have bare metal. Uh and so Adabus is offering is called the EC2 bare metal instance. And this is where you basically get the whole machine uh you can configure the entire machine with with the exception of the physical machine itself. So as the customer you can install the host OS um uh the host OS. So the operating system that runs on the physical machine and then you can install your own hypervisor. Um and then as is going to be responsible for the rest the physical machine. Now normally the next step up would be dedicated but dedicated doesn't exactly give you more responsibility. It gives you more assurance because it's a single tenant uh virtual machine and that's why I kind of left it out here but we'll see it in the next slide that it is kind of on the model and shares the same spot as uh EC2. Um but EC2 is a virtual machine and so um here the customer is responsible for the guest OS. So that means that you can choose what OS you want whether it is Ubuntu or Debian or Windows but that's not the actual OS that is running on the physical machine and so you're not going to have control of that. AWS is going to take care of that. Then there's the container runtime. So you know you you can install Docker on this or any kind of container layer that you want. Um, so that's another thing that you can do. So ads is going to be responsible for the hypervisor, uh, the physical machine and the host OS. All right. Then looking at containers, ads has more than one offering for containers, but we'll just look at ECS here. And so um, this is where you are going to uh have uh you don't you don't install the guest OS, right? The guest OS is already there for you. What you are going to do is choose your configuration of containers. You're going to uh deploy your containers. You're going to determine where you need to access storage for your containers or attach storage to your containers. And Adabus is going to be responsible for the guest OS. It the and there might not even be a guest OS, but there the host OS, the guest OS, the hypervisor, the container runtime. Uh and you're just responsible for your containers. Okay. Then going to the next level here, we have platform as a service. And so this one also is a little bit odd where it fits. Um because the thing is is that this could be using anything underneath. It could be using containers. It could be using virtual machines. Um and so that's where it doesn't exactly fit well on a linear graph. But let's just take a look at some things here. So this is where you're just uploading your code. Uh you have some configuration of the environment. You have options of deployment strategies. Um the configuration of the associated services. And then adabus is going to be responsible for the servers, the OS, the networking, the storage, the security. So it is taking on more responsibility than infrastructure as a service. Um whereas you know adabus is just going to be responsible for that. So if it's a virtual machine that's been under uh under the use is going to be responsible for this customer stuff. Okay, you're not. If it's containers, then ads is going to be responsible for this. But it just depends on how that platform as a service is set up. Actually, the way Elastic Beantock is set up is that you actually have access to all that infrastructure and you can fiddle with it. And so, in that case, um whereas like if you were to use Heroku, which is a a third party provider, um you know, they would take care of all this stuff up here. Um and so you would not have to worry about it. But on AWS, you actually are responsible for uh the underlying infrastructure because you can you can configure it, you can touch it. So that's where you know again these do not fit perfectly and you can't look at platform as a service meaning that um you're not responsible for certain things. It really comes down to the service offering. Okay. Then we're taking a look at software as a service. So on AWS um this is going to be something like um Amazon workdocs which is I believe a competitor not a very popular competitor but a competitor to Microsoft SharePoint and this is for content collaboration. So as the customer, you're responsible for the contents of the document, management of the files, configuration of sharing, access controls, and the database is responsible for the servers, the OS, networking, the the storage, the security, and everything else. So you know, if you use a Microsoft Word doc and you type stuff in it, you say where to save it. That's what you're responsible for. Okay. Then the last one here on the list is our uh functions here. And so ads is offer is lambda. And so as a customer, all you're doing is you're uploading your code and adabus is going to take care of the rest. So deployment, container runtime, networking, storage, security, physical machine, basically everything. Um, and so you're really just left to uh develop. Okay, so you know, hopefully that gives you kind of an idea. And again, you know, we could have thrown in a few other services like what we could not fit on this slide here was um uh it was Fargate, which is a serverless container as a function or sorry serverless uh serverless container as a service or container as a service. So uh you know that has its own unique properties in the model as well. Okay. So let's just have kind of a visualization on a linear graph here. So we have the customer's responsibility on the lefth hand side and adabus' responsibility on the right. And we'll look at our broad categories. So we got bare metal dedicated virtual machines, containers and functions. And so no matter uh which uh type of compute you're using, you're always responsible for your code for um containers. you know if uh you know like uh the functions when you're using functions there are pre-built containers so you'd say I want to use Ruby and there's a Ruby container and you don't have to configure it but obviously um you know when you are using container service you are configuring that container you are responsible for it for um virtual machines you know you're responsible for the runtime so you can install a container runtime on there or install a bunch of different packages like Ruby and stuff like that uh the operating system you have control over in the virtual machines for the dedicated and we saw with bare metal you have both uh controls of the host OS and the guest OS and then only bare metal allows you to have control of the virtualization where you can install that hypervisor. So hopefully that gives you an idea of compute and as offering there and also kind of how there's a lot of little caveats when we're looking at the share responsibility model. Okay. All right. Right. So I have one more variant of the share responsibility model and this one is actually what is used by Google. So um we're going to apply to AWS and uh see how it works. So let's just kind of redefine share responsibility model or just in a slightly different way so we fully understand it. So the share responsibility model is a simple visualization that helps determine what the customer is responsible for and what the CSP is responsible for related to AWS. And so across the top we have infrastructure as a service, platform as a service, software as a service, but remember there's other ones out there like function as a service. It's just not going to fit on here. Um, okay. So, and then uh along the side here we have content access policies, usage, deployment, web application security, identity, operations, access and authentication, network security. Remember that's cloud networking security, the guest OS, data and content, audit logging. Now we have the actual traditional networking or physical networking storage and encryption and here we're probably talking about the physical storage harden kernel IPC uh the boot the hardware and so then here we have our bars so we have the CSP's responsibility and the customer's responsibility so when we're looking at a SAS software as a service uh the customer is going to be responsible for the content remember like think of like a word processor you're writing the content the access policies like say I want to share this document with someone the usage like how you utilize it. Can you upgrade your plan? Things like that. Then next on our list here is platform as a service. So generally uh you know platform as a service is for developers to de develop and deploy applications and so they will generally have more than one deploy strategy and uh you know there might be some cost-saving measures to choose like uh you might have to pay additional for security uh or you it's up to you to configure in a particular way or you might have to integrate it with other services uh and you know we saw that pass is not a perfect uh definition or fit because you know when we look at elastic beantock if you have access to those resources and you can change them underneath then you might have more responsibility there than you think that you would. Okay. The next one here is infrastructure as a service and so this is extending to identity. So who's allowed to uh you know log into your adabus account uh operations the things that they're allowed to do in the account access and authentication do they have to use MFA uh things like that network security obviously you can configure the security of your uh cloud infrastructure or cloud network um you know so you know do you isolate everything as single VPC how do you set up your security groups things like that uh we know with virtual machines you can set up the guest OS there's data and content but remember that bare metal is part of the uh infrastructure as a service offering and and so that's where we'd see hardware or not hardware but you'd have the host o the host OS or virtualization and so this again is not a perfect representation uh but it generally works okay and then last on the list there or just looking at what the AWS is responsible for audit logging so of course ads has cloud trail which is for uh uh logging uh API um events but auto logging could the things that are uh internally happening with those physical servers then the networking the physical storage uh hardering the kernel ads has I think what's called the nitro system where they have like a security chip that's uh installed on all their servers then it's the the boot OS uh and then the hardware itself okay so just remember the customer is responsible for the data and configuration of access controls that reside in AWS so if you can configure it or you can put data on it you're responsible for it Okay, the customer is responsible for the configuration of cloud services and granting access to users via permissions, right? So if you give uh one of your employees access to do it. Um you know even if it's their fault, it's your fault. So remember that. Um and again the CSP is generally responsible for the underlying infrastructure. We say generally because you know there's edge cases like bare metal and coming back to AWS's in the cloud and of the cloud. in the cloud. So if you configure it or store it then you the customer are responsible for it and of the cloud. If you cannot configure it then the CSP is probably responsible for it. Okay. Hey this is Andrew Brown from Exam Pro and we are looking at the share responsibility model from the perspective of architecture. And if you're getting sick of shared responsibility model don't worry I think this will be the last slide in this section but let's take a look here. So uh we have uh less responsibility more responsibility at the bottom. So what we have down here is traditional or virtual machine architecture. So global workforce is most familiar with this kind of architecture and there's lots of documentation frameworks and support. So maybe this would be using elastic beantock with platform as a service or using EC2 instances alongside with autoscaling groups uh code deploy uh load balancers things like that. The next level here is microservices or containers. This is where you mix and match languages, better utilization of resources. So maybe you're using Fargate which is serverless containers or elastic container service or elastic kubernetes service for containers. And at the top here we have serverless or commonly with functions as a service. So there are no more servers. You just worry about the data or uh and the code, right? So literally just functions of code. And so you could be using the amplify serverless framework or maybe a lambda for creating serverless architecture. So there you go. Hey, this is Andy Brown from Exam Pro and we are looking at computing services. And before we jump into uh the entire suite of computing services ads have, let's just talk about EC2 for a moment which allows you to launch virtual machines. So what is a virtual machine? Well, a virtual machine or VM is an emulation of a physical computer using software. Server virtualization allows you to easily create, copy, resize, or migrate your server. multiple VMs can run on the same physical server. So you can share the cost with other customers. So imagine if your server or computer was an executable file on your computer. Okay, so that's the kind of way you want to think about it. When we launch a VM, we call it an instance. And so EC2 is highly configurable server where you can choose the AMI. the Amazon machine image that affects options such as amount of CPUs or vCPUs, virtual CPUs, the amount of memory, so RAM, the amount of network bandwidth, the operating system, so whether it's Windows, Zubuntu, Amazon 2, uh the ability to attach multiple virtual hard drives for storage, so elastic block store. Um, and so the Amazon machine image is a predefined configuration for a VM. So just remember that. And so EC2 is also considered the backbone of adabus because the majority of adabus services are using EC2 as the underlying servers whether it's s3rds dynamob or lambdas that is what it's using. So um when I say also it's just because when we talk about the network that is the backbone for uh global infrastructure uh and the networking at large and so EC2 is for the services. Okay. Hey, this is Andrew Brown from Exam Pro. So, we just looked at what EC2 is, but let's look at more of the broader services for computing. And these are the more uh common ones that you'll come across. There's definitely more than just what we're going to see on this single slide here. So, we'll break this down with virtual machines, containers, and then serverless. For virtual machines, remember that's an emulation of a physical computer using software. And EC2 is the main one. uh but for our VM category we have Amazon light sale this is a managed virtual server service it is the friendly version of EC2 virtual machine so when you need to launch a Linux or Windows server but you don't have much knowledge you could launch a WordPress here and uh you could hook up your domain and stuff like that um so this is a very good option for beginners we have containers so virtualizing an operating system or OS to run multiple workloads on a single OS instance so containers are generally used in micros service architecture when you divide your application into smaller applications that talk to each other. So here we would have ECS elastic container service. This is a container orchestration service that supports Docker containers. Launches a cluster of servers on EC2 instances with Docker installed. So when you need Docker as a service or you need to run containers, we have elastic container registry ECR. This is a repository of container images. So in order to launch a container, you need an image. An image just means a save copy. A repository just means a storage that has version control. We have ECS Fargate or just Fargate. Now people are kind of forgetting that it's it runs on ECS these days. That's why I have it in there. It is a serverless orchestration container service. It is the same as ECS ex except you pay on demand per running container. So with ECS you have to keep a EC2 server running even if you have no containers running. So it manages the underlying server. So you don't have to scale or upgrade the EC2 server. So there's the advantage over ECS. Okay. Then we have elastic kubernetes service EKS. This is a fully managed Kubernetes service. Kubernet or so Kubernetes commonly abbreviated to K8 is an open-source orchestration software that was created by Google is generally the standard for managing microservices. So when you need to run Kubernetes as a service. Then we have serverless category. So when the underlying servers are managed by adus, you don't worry or configure servers. Sabus lambda is a serverless function service you can run code without provisioning or managing servers. You upload small pieces of code, choose much uh how much memory, how how long you want the function to run is allowed to run before timing out and you are charged based on the runtime of the serverless function rounded to the nearest 100 milliseconds. So there you go. Hey, this is Andrew Brown. In this video, I want to show you some of the different compute options within AWS. So, I think it'd be great to launch a virtual machine, uh, launch some kind of container compute and a llama function. You can just watch here as I'm just really trying to show you something. Uh, or you can follow along. It's up to you. I try to utilize the free tier as best I can, but, you know, make sure that you do have a little bit of spend just in case. Uh, but we're going to go ahead and launch an EC2 instance. I've made my way over to EC2. I just typed it up here on the top. And from here, we will go in and launch a new instance. And I'm going to go ahead and just launch a we'll say my web server. And we're going to choose Amazon Linux. Um, and we're going to stay with the free tier, which is going to be a T3 micro. I do not want to use a key pair. I do not care. I'm not going to do anything with this, so it's not that big of a deal. And we'll go ahead and launch this instance. And so, that's going to go ahead and launch that instance. If we go over to here, the instance is now launched. So, we have a virtual machine. and we would be able to connect to it, but I didn't make a way for us to log into it. So, you know, but it is launched, so we could do something with this if we wanted to. Um, I suppose we should. So, if we wanted to get into this machine, like if we go here and we try to connect, I mean, this might work. Let's see. Does this work? Because I didn't give it permissions. Oh, yeah, we're in. Okay, never mind. The reason why I was a bit confused here is that Adabus keeps adding all these other methods and usually sessions manager is the way that we get in and you need permissions to do so. But we just use the EC2 instance to connect to get in here. And so now I'm within a server, right? So lwd I can say who is me. So who is or usually it's who is or who am I? Sorry, who am I? So I'm the ECT user which is the default user. Um and so if I wanted to let's say serve a web server from here, I could do that. So it's a um Amazon Linux uh to install Apache HTTPD. That's usually the standard one here. Um so we have uh yeah, something like that. Pseudo yum install like that. We might have to do an update first. I'm going to go ahead and grab that and give that a try. All right. Again, if this is too much, just watch as we're just kind of getting a little bit of experience here. But all I'm doing is setting up a very very simple uh web server. So go ahead and grab this and we'll wait for that update to complete and we'll go ahead and paste that in. Um I don't usually often use the Amazon Linux distribution anymore. I usually just use Abuntu. Um but I used to really like the Amazon one, but they fiddled with it too much and it frustrates me. So now we should have an HTTP server running here. So, if I was to say curl localhost, maybe 80 curl localhost, I should be able to get something. If that doesn't work, I might have to start it up. So, pseudo system ctl uh http Oh, I don't remember what it is. So, I'm going to go ahead and just ask it. Uh folks, we got chatbt these days, so leverage what you got. Okay, I'm just going to go over here to chatbt and we'll just say, "Hey, I just started up I just started I just installed this on Amazon Linux 2. How do I check if it is running? Usually it's pseudo systemctl something. It's just they have two different names. So it depends on which one it is. It's httpd. Okay. Uh and did I get close to that or no? I was pretty close. I just I just kind of gave up. So I just had to put status there. And so you can see it's not running. So I go here and say um start httpd. And then we can go ahead here and give it a status. And I don't mean to make the text small, but it's kind of hard to bump that up. And so now it's currently running. So if I was to curl local host like this, um, I'm getting back a website. And if I wanted to kind of expose this to the internet, so I could actually see that uh, we do have a public IP address that's assigned to us. I need to open up our ports. So I'm going to go my networking tab, uh, or security tab, I suppose. And here we have a sec security group. I'm going to click into this one. Um, I'm going to go ahead and edit the inbound rules. Add a rule here. And we will open up uh HTTP port AD. This would be to the web. And I could just say to my local computer, but I'm going to say from anywhere. I don't plan to keep this around for very long, so it's not a big deal. Um, and if we go back over to our instance and we go to networking or even the details here, we'll grab the public IP address, go to a new tab, and we should see a website because it's serving on port 80, right? And so there it is. It works. So we have successfully deployed a simple um web server. Let's go see if we can do something similar with uh ECS or Fargate. So there's a thing called Elastic Container Service. Uh but there's also Fargate. Fargate is serless containers where um where you don't have to manage the the layers underneath. Um or we can do it the other way here. But it seems like they've actually separated them out as separate services. They're always changing things on me here. here. If I go over to Fargate, oh, where is it? It should be under here. So, maybe when we launch it, we will see. The confusion I'm getting is because I often use the uh Adabus CLI and the SDK and everything else to work with it. And I try to stay out of the console, but for this beginner course, we wanted to try to do that as much as we can. So, here I'm going to create a cluster. Oh, here it is. Fargate only. So, they used to have it separated and you type it in here and now it's just all again seamlessly in here. And so we have a cluster name and we have Fargate only, Fargate managed instances or Fargate and self-managed instances. So I'm going to go with Fargate only as that's going to be probably the easiest thing for us to do. And we'll go ahead and create that and we'll and we'll create that cluster. Now we haven't launched anything. So with Fargate, it is serverless in the sense that whatever you use is is whatever um you consume. Uh whatever you can like whatever is running is what is what you're going to pay for. uh but um there's nothing running within the cluster right now. Now if you used um a manage cluster then you'd be paying for whatever virtual machine is powering it the entire time which is uh different but we'll go into here and so I want to go ahead and launch a new service. Oh they have a express mode now they just keep changing things on me here but here the idea is that we would normally need a task definition but I guess with this express mode they're kind of skipping that for us here. Let's go see if we can browse any ECR images. And we don't have any ECR images within our our repository here. But we might be able to provide a public URL. So I'm gonna go over to DockerHub. And this is where we can get all sorts of containers. A good one would uh for beginners is hello world. As you can imagine, it's a very basic one. And so all Hello World does, I'm just making sure this is from Docker. Yeah, it's official Docker image. All it does is print out Hello World. And so all I want is the actual URL path here. And I guess the name's kind of strange because it has this underscore. I'm not used to seeing that underscore there. They must have changed that as well. They're always changing things on us. But the idea is that we can provide the URL path here. And normally it's like latest like this. So we'll see if that works. Um but we might just take out the protocol like that. We'll see if that will create and we'll see what happens. But before before this express thing, I'd have to create a task definition. It's a lot of work. So if this just works, that'd be really really nice. I It looks like it's working. Yep. So we're going to wait for that deployment. Now this um thing, it should just launch and probably shut down right away as there are different kinds of things that we can launch. Um so if we go over to here into our cluster notice that we have a service Damian or task. So task means that it runs and that it stops. A service is intended to run uh long term like an actual web server uh or like an application. Uh but here it's really just a task even though we deployed it as a service. So my expectation is going to run and then it's going to stop, right? And so I'm just trying to observe uh where that might be occurring. And so I'm seeing if we're getting any logs. We'll take a look at our deployment. No deployment information. So nothing as of yet. We'll go back over to here. And it's still in progress. Okay. So we're just chilling out here waiting for this to do something. So I'm going to pause and see what happens. Okay. Oh, by the way, uh to get it deployed, what it's trying to do if we go to view here, it's probably trying to look for a healthy health check here when it when it runs. Uh but we'll see what happens. And we can always just keep clicking through and seeing if anything's happening here. So nothing as of yet. Okay, but this might not work. Oh, it is active. Wait, hold on here. But still nothing here. Okay, we'll just chill. So I think the problem with this tab or this service that I launched is that it's supposed it's supposed to expect to see something. And so I think it's just never going to execute. So, what I'm going to do is just stop this here as this is probably just a mistake uh uh for me actually doing this. So, I'll go into it and we'll just delete the service because it doesn't take that long. It it should have already uh been working here. And so, I'm going to go back over into our cluster and we're going to ignore this express mode. I'm going to go ahead and just um I guess we could go ahead and run a task. But again, then we need a task definition. So we'll go ahead and I guess we're just going to go the old way and create a new task definition. And here we're saying that it's AWS Fargate. We'll just say hello world task. And then down below we have a bunch of additional information like how much memory and stuff. We need the least amount of everything. So I'm going to go ahead and reduce it as low as I can here. Um we have an execution task already here. And then this is the thing that we actually want to run. So I'm going to go ahead and grab uh this address here. So, I'm going to grab um this. So, I believe it should be that. Okay. And um this will just be hello world. And we can open port 80. It doesn't really matter for this. And then we go down below. Everything else looks fine. This should be just enough for us to get this to work. So, we'll go ahead and create that. And so now we are deploying that task. Well, we just created our task definition. So now we got to go into our cluster. And then we'll drop this down and run a task. And now we can choose the hello world task. Uh I don't know if we have to name that there. And then we have our capacity provider strategy. So we want to launch with Fargate with one which is totally fine. We'll go ahead and create that. But you know working with containers can get really really complex. Um and so you know I like either virtual machines or functions and when I can avoid containers um I generally do or if I do use containers I like to utilize them with virtual machines directly as I don't find this management layer to be useful but if you're a large organization you uh might like that. So it looks like that it might have executed here and finished. It's already deprovisioning it. And so I think that that worked. But here it says failed to create the uh container model, failed to normalize the image reference here. So it's saying that the um uh the name of it might be wrong. So I'm going to go ahead here and uh go and create a new revision. And so I think it didn't like the name here. And so I thought that's what it was. So, we'll just go ask GBT um you know what is the the repo image URL for this for um ECS task definition because I thought that's what it is. Sometimes it will actually default over to Docker Hub, but I'm not I'm just not confident. This is something I always forget, so it's not that big of a deal. Oh, Docker.io. Okay, if you want to explicitly do that or but here it says the URL is just hello world. Sure. If you want to be explicit. The only thing that's confusing me is that see how there's an underscore here and that doesn't match. So I mean again we can go ahead. We'll try hello world. But this is something that um I don't like about databases is that they never make those UIs as easy as they can be. Uh, and we'll go ahead and we'll try to run this task again. And we will drop this down here. We'll make sure we're using number two. And we'll go ahead and create this. And so maybe we'll default over to DockerHub this time. So we will just wait a moment here and see what happens. And I'm just going to say like it's not airing out. The other one aired out very quickly. So I do believe that it is working. It does try to check for those health statuses, but again, this is a task that's going to fire and then finish. So, I'm not expecting it to do anything uh crazy here. And it stopped and exited. So, what I'm trying to find here is its logs to see that it actually ran. And so, we'll give this nice refresh here. And it stopped. Failed to create. Failed to normalize the image Docker Hub. Oh, no. That's the other one. The one that's actually running here is number two. And it's deprovisioning. And it looks like it worked. There are no issues here. Let's go and see if we can check out the logs. And here we have hello from Docker. So, we successfully used um ECS. Now, for the last one, I just want to show you functions. And I'm not sure if we shut down our EC2 instance. If we didn't, let's go ahead and do that. And our container before we proceed. Oh, we did. Okay. I'm going to go back over to ECS. Now, to have that cluster up with Fargate only is not going to cost us anything, but it doesn't hurt to clean up. So, we'll go ahead and do that. Oh, we have to write delete this. And notice you'll uh for deleting, they always kind of vary this, which is kind of frustrating. And while that's thinking, I'm going to go over here and we'll go to llama. This one's going to be a lot easier to utilize. And we're going to go ahead and create a new function. This will be my Ruby function. I really like Ruby, so I'm going to go ahead and drop this down to Ruby. got 3.4 here. Um, and I believe it will come with some basic code. So, we'll go ahead and hit create function and we'll give it a moment here to create. I'm going to go back over to here and see that this cluster has been deleted. And so, we have our Ruby function. Oh, you're always changing stuff. We don't need more information. And so, here we have a built-in Visual Studio Code editor. So, we can uh implement whatever we want. And so I'm going to go over to chatbt and I'm just going to say uh can you make some kind of fun code to show us um lama. Okay. I hope it doesn't ask me any questions, but we're just trying to drop something in here for fun. Sure. So yeah, anything you want. It doesn't really matter. But the idea here is that we just drop in code and it should just work. So I'm going to go say allow. Now normally after this gets over a certain file size. I can't remember what it is if it's um one megabyte or whatever, but normally you have to upload a zip or provide an S3 location. The most common way is an S3 location. Um but uh when we just have a few files, it's not that big of a deal. So what we'll do now is just save this file and I'll hit deploy. And so that is now deploying that function. They used to have cloud9 integrated into here, but then they got rid of that service and so now it's uh Visual Studio Code, which is fine. And uh so that function is now deployed. If we want to go ahead and test it, we should have a test option somewhere here. So it used to be uh along the top here. Oh, it's over here now. Okay, great. So let's go ahead and just say my test. Now, the only trick here is that we need to know what payload we need to provide. So, I'm going to go back over and say don't show this again. Back over to here, and I just want to take a look at what it expects. So, it's expecting a name and a mood. So, um name and then whatever mood you want. So, we can say happy. So, I'm go over and try this. So we have mood um happy. Of course your code's going to be a little bit different than mine. So make it work for you. Right. Name Andrew. And we'll just delete that out. I'm going to save this test just in case I want to use it again. And let's see if it actually works. Sometimes it expects some other things in the payload, but that seemed to work totally fine. Um, in order to see the results, we're going to check the logs. And so here, salutations, Andrew, you seem happy. So, we got back our logging. And so, there you go. We just uh ended up doing all three types of compute. Um, which is good coverage. But there you go. Our lambda is cleaned up. And I will see you the next one. Chowo chia. Hey, this is Andrew Brown from Exam Pro and we're taking a look at higher performance computing services on AWS. So before we do, we got to talk about the Nitro system. So this is a combination of dedicated hardware and lightweight hypervisor enabling faster innovation and enhanced security. All new EC2 instance types use the Nitro system and the Nitro system is designed uh by AWS. Okay, so this is made up of a few things. We have Nitro cards. These are specialized cards for VPCs, EBS, instance storage and uh controller cards. You have Nitro security chips. These are integrated into the motherboard. Protects hardware resources. And we have the Nitro hypervisor. This is the lightweight hypervisor memory and CPU allocation. Bare metal like performance. There's also uh Nitro Enclaves, but you know that's a bit out of scope here, but that's has to do with like EC2 isolation. Okay. Uh then we have bare metal instances. So you can launch EC2 instances that have no hypervisor. So you can run workloads directly on the hardware for maximum performance and control. We have the M5, the R5 um EC2 instances that can run bare metal. There's other ones I believe I've seen as well, but um you know if you are running bare metal, you can just go investigate at the time of okay we have bottle rocket. This is a Linux-based open source operating system that is purpose-built by Adabus for running containers on VMs or bare metal hosts. Then uh let's just define what HBC is. So it's a cluster of a hundred of thousands of servers with fast connections between each of them with the purpose of boosting computing capacity. So when you need a supercomputer to perform computational problems too large to run on a standard computer or computers or would take too long, this is where you know HBC comes into play. One solution here is Adabus parallel cluster which is uh an adabus supported open source cluster management tool that makes it easy for you to deploy and manage high performance computing HPC clusters on AWS. So hopefully that gives you uh an idea of this stuff. Okay. All right. So let's take a look at HPC or high performance computing on AWS. So HPC is for uh running large complex simulations and deep learning workloads in the cloud with a complete suite of high performance computing product services gains insight faster and quickly move uh from idea to market blah blah blah blah blah it's for ML or very complex scientific computing stuff these run at least on C5NS okay and the way it works is that you use this um CLI called pcluster for a parallel compute or a parallel cluster stuff and so let's see if we can get this installed very easily. Um, so what I'm going to do is see how hard it is to install. Now, I don't recommend you running this because I don't know what it's going to cost me and if I make a misisconfiguration, I don't want you to have that spend here, but I don't think it's that dangerous. So, I'm going to go back over to US East one here. I'm going to open up CloudShell and I'm going to give it a moment to load. And so, as that is loading, let's take a look at how we would go ahead and install this. So install the current parallel. Um it was parallel. I think we can just copy that line. Okay. And so we have to wait for environment to spin up. All right. So once it has spun up, we will install it and then we will jump over to this tutorial here. Okay. So we'll give this a moment. And after waiting a little while here, it looks like our shell is ready. It looks like it's in bash. Um, I'm just going to type in ads S3 LS as a sanity check. Okay, and it works. That's great. So, we'll go back over here and I'm going to go back up to install for Linux. And what I need is that single command. Where is it? So, I'm certain that we already have Linux or Python installed, but I just want the command to install it. You saw it a moment ago here. I'm just going to back out till I can find it. Uh, one more. There it is. So, it's under Oh, it's this link here. And that's what I talk about the documentations being tricky. Sometimes you have to click these uh headings here to find stuff. So, this is the first time installing it. So, we'll grab that. Usually, you're supposed to create in virtual environments with Python. I don't care. This is my cloud shell. It doesn't matter to me. So, we're going to go ahead and download that. And hopefully it is fast. And it was super fast, which was really nice. And so, what we'll do is go check out the pcluster version. Okay. And that looks fine to me. I'm going to go down below here to run our first job. Um, the returns the it gives outputs. I don't think we need to configure it because we already have our CLI. So, what I'm going to do is go ahead and create ourselves a new cluster. Um beginning cluster creation configuration file config not found. So I guess we do have to configure this configure. And it's asking what region do we want to be in? Um if I have US east one I would choose it. For some reason it's all the way for number 13. That is not a lucky number but I'm going to choose it anyway. Anyway, no key pair found in US East1 region. Please create one of the following. Um, so create an EC2 key pairs. Uh, no options found for EC2 key pairs. That's fine. So what what I'll do is go over here and we'll go over to EC2 and we will go over to key pairs. Key pairs. Key pairs. Key pairs. We'll create ourselves a new one here. So we'll say um HPC key pair or just my HPC so we know what it is for. We have putty or PM. We're going to do PM because we're on Linux. We'll create that. And notice that it downloaded the PM down here and we're going to need that for later. Um and so what I'll do is I'll type in pcluster here again. Configure. We'll choose 13. We'll choose number one here. Uh allowed values for the scheduler. I have no idea what these are. Uh let's choose the number one. Allowed values for the operating system Amazon Linux 2. I know what that is. Minimum cluster size one. Maximum cluster size two. Head notice instance. Oh, T2 micro. You can do that. Yeah, let's do it. I didn't know we could do that. Enter. Compute type. Uh T2 micro. Sure. So, I thought that we'd have to use a C5N, but I guess apparently not. AutomateVPN uh VPC creation. Yes, of course. Network configuration. So, allowed values for the network configuration. Uh head node in a public subnet and and compute fleet in a private subnet. Uh head node and compute. We'll do it in the both just to make our lives easier. I don't care. First one sounds more secure, of course. And so, oh, it's creating cloudformation stack. Wow, this is easy. I thought this was going to be super painful. Okay. So, we'll go over here. We'll go take a look at what Cloud Form's doing. All right. Now, I don't care if we actually run a task on here, but it was just interesting to go through the process to see how hard it was. And we will go look at what resources are being created. So, it's creating an internet gateway. So, it's literally creating a isolate VPC for it, which is totally fine, I guess. Um, it's creating a subnet. It's creating a route table. Refresh here. Um, I'm not sure how much it wants to create here. It just looks like VPC. That's all it's creating. I thought maybe the EC2 instances would show up here, but maybe it's going to launch that on a need basis. Okay, so that's all created. Oh, now it's doing a VPC gateway. I think VPC gateways cost money. Let's go take a look here. VPC pricing. Yeah, there's a uh transfer fee. So, just be careful about that. You know, again, you just can just watch along here. You don't have to do it. Default route depends on public. So, now it's creating EC2 route. I don't know what an ads EC2 route is. I've never seen that before. Sometimes what we can do is go into EC2 and then take a look on the lefth hand side. You see anything in here? We don't know what it is. is we just type in EC2 route cloud form. Sometimes cloud form is great for figuring out what a component is. Not all components are represented in the um um management console. So specify a route in the route table. Oh, it's just a route. Okay, we'll go back here. We'll refresh. So that is done. Is the stack done? Created complete. Good. We'll go back to our cloud shell. It says you can edit your configuration file or simply do etc. So now let's see if we can create the cluster. I assume this would create EC2 instances. So the job schedule you are using is SGE. This is deprecated in future. Use parallel cluster. Well should have told me. Okay. There is a new version of 301 parallel available. I don't understand because I just installed it, right? We'll go back to cloud for going to probably create nested stacks which that's what I thought it would do. NS stacks means that it's reliant. So there's one main one and then there's uh children stack. So go here, see what resources it's creating. Oh, whole bunch of stuff. Wow, so many things. An SQSQ, SNS, uh network interface, a Dynamo DB table. Yeah, you you probably don't want to run this. You just want to watch me do it. And then we go into here. It's creating uh an EC2 volume. So that's going to be EBS. And then here we have uh a log group. I don't know why they separated those out. Doesn't seem very necessary. We are waiting on the elastic IP. That always takes forever creating elastic IP. Root instance profile. That is the IM role for it. That didn't take too long. These these take a long time. I I never know why. Create a role. It's really easy, but attaching an IM policy, you're always waiting for those. Um, so I'm going to just stop it here. I'll be back in a second because I don't want to have to make you watch me stare at the screen here. Okay. All right. So, after a really, really long wait. Um, and it always takes some time there, it finally created. I'm not sure what it's made. I mean, we generally saw over here in the outputs, but usually the cost that I'm worried about is whatever it's launching under EC2. It might not even have launched any servers here. We're going to take a look here, see if there's anything. So, we have a master and a compute. And they're T2 Micros, so seems pretty safe here. Um, this compute is not running yet. So, I'm assuming that this is like the machine that does the computing. And maybe if you had multiple machines here like that would be the cluster like it would manage multiple computes. U I'm not particularly sure but let's just keep going through the tutorial and see what we can do. The next step is we need to get this PEM key in our cloud shell here. So this I don't know where this is but what I'm going to do is I'm going to move it to my desktop. I'm doing this off screen by the way. So I'm moving it to my desktop and then I'm just going to go and upload the file. Okay. And there it is. So, we'll say open and we'll say upload and it's going to upload it here onto this machine. And I believe this is on like I think this uses an EFS instance. Like if you're wondering where the storage for cloud shell is, if we go over here, I think it's EFS. Is it? Uh I don't know where it is. Okay, maybe it's just uh maybe it's somewhere else. Okay, I can't remember where it is. But anyway, um, so now it's created the cluster. Can I hit enter here? Okay. Can I create a tab? Like if I quit this, is it going to kill it? It exited it, which is I think it's fine. I don't think it stopped running. And so now if I do an ls, there's my key. And so we can go back to our instructions. Just have too many tabs open here. drag this all the way to the left here. And so we can try to use our key here to log in. So what I'm going to do is go here and we'll say my HPCPM and see if that works. We'll say yes and permission denied. It is required. Your private key is not accessible. That's because we have to chod it. Um, I never remember the command anymore because I rarely SSH into machines. But if we go to connect and we go to SSH client, it'll tell us what we need to run Chamad 400. Okay, so that's what we need to do is we need to do a Chimad 400. Just wanted to grab that code there. Okay, and now if we hit up, it should SSH into the machine. There we are. We are in the instance. We'll type it exit. And so now we want to run our job on this machine. And if we go back over to here, I guess we can go create our first job. So I'm just doing this in vi and I paste that in. Yep. And I don't want the first line. Oh, okay. That's perfect. Great. Right. Quit. Oh, there's no file name. Hold on here. So, I need to name this file something. So, I'm going to say job.sh. And we're going to paste that again here. We'll say paste. And I don't know if that's cut off. Yeah, it is. Okay, great. Is that one okay? I don't trust that the first line is there. So, what I'm going to do is go back to our tutorial here. It's shebang for slashbin for slashbash. Uh this then that slashbin slashbash just double check it. Looks good to me. We're going to quit that. I'm just going to make sure that it is what it we said it is. So job.sh looks correct to me. Good. And so we'll try to run our job here. So I'm going to say Q um job.sh. sh ls and I guess it really depends on what we decided to use when we set up that thing. I can't remember what we choose as our Q. We do Qstat. Oh, okay. Okay. Okay. So, I think the thing is like you see how we have SGE. I think that that's what we use to queue up jobs and so we have to have that installed probably. So install configure sun grid engine sg install um Linux. Oh boy, that looks like a lot of work. So I don't think we need to do anything further here, but as far as I understand, the idea is that you're choosing uh some kind of way to manage these. And so I'm not sure what Q Q sub is. Let's just go look up what that is. What is Q sub? Oh, that is the sun grid engine. Okay. So, how do we install that? Um, I'm just going to see if we can install it. So, I'm going to do I think this is using yum. So, if I do clear here, clear yum install Q sub. Let's see if I can do it. pseudoy yum install qub no package available Amazon Linux 2 q sub because that's probably what we're running in cloud shell q sub doesn't tell us how to install it so that's probably what it is and so in order to use this we would have to install all that sun whatever whatever and then we go through we do q sub it would ceue it up um you could do qstat cat hello destroy it that's pretty much all we really need to know to understand this would have been nice to queue up a job and see it work but you know we're getting kind of into a hairy territory here and I think that we fundamentally understand how this does work so what I'm going to do is I'm going to go here I'm going to remove the jobsh here and I want to destroy this cluster um so I'm going to do pcl cluster commands to figure out what all the commands are. And there's probably a delete command. So, we'll go back up here. BC cluster. Where is our crate? So, we'll say delete. Okay. And so, what that's going to do is just tear down all the stuff now. So if we go over to cloudformation. Okay. And it looks like it's destroying. So yeah, I'll see you here uh back in a bit when it's all destroyed. Okay. All right. So after a short little wait there, it has destroyed. It has been so long that I uh my connection vanished. But just make sure if you did follow along for whatever reason, uh you know, make sure that the stuff is deleted. And it looks like it did not destroy uh this. So I'm going to go ahead and delete that. That's just VPC stuff. So I'm not too worried about it. I know that's going to roll back no problem. And so I'm going to consider this done. So I'm going to make my way back to the management console. Close this stuff up. And we are good to go uh for our next thing. Hey, this is Andrew Brown from Exam Pro and we're taking a look at edge and hybrid computing services. So what is edge computing? when you push your computing workloads outside of your network to run close to the destination location. Uh so an example would be pushing computing to run on phones, IoT devices, external servers, not within your cloud network. What is hybrid computing? When you're able to run workloads on both your on-remise data center and the AWS uh VPC. Okay, so we have a few services here starting with ads outpost. This is a physical rack of servers that you can put into your data center. Adabus outputs allows you to use adabus API and services uh such as EC2 right in your data center. Then we have ads wavelength. This allows you to build and launch your applications in a telecom data center. By doing this, your applications will have ultra low latency since they will be pushed over the 5G network and be closest as possible to the end user. Um so they've partnered with things like Verizon, Vodafone, uh Business and a few others, but those are the two noticeable ones. Okay. We have VMware cloud on AWS. So this allows you to manage on-remise virtual machines using VMware uh within EC2 instances. The data center must be using uh VMware for virtualization for this to work. Okay. Then we have ads local zones which are edge uh data centers located outside of the ads region. So you can use ads closer to the edge destination. When you need faster computing storage databases in populated areas that are outside of AWS region, you can do this. There's some other edge offerings on AWS that aren't listed here. Like SageMaker has what's called like Neo Sage Maker that let you do edge computing with um ML, but I mean this is good enough. Okay. All right. So, I wanted just to show an example of edge computing uh because we didn't cover it in our generic uh compute. And so, there's a variety of services that allow you to do edge computing like wavelength. And so, um, I've never actually launched wavelength before and I think that, uh, you have to request it. So, if I go over to support here, again, I've never done this before, but I'm sure we can figure it out pretty easily. I feel that if we create a case, um, maybe it's like service limit. We type in wavelength here. Nope, not there. So, how do we get wavelength? wavelength ads request. So that's what I'm looking for here. Okay. How do I use wavelength AWS? Whoops. And sometimes what I'll do is go to the docs here. Opt into wavelength zones. Before you specify wavelength zone for resource or service, you must opt into it. To opt in, go to the ads console. Okay. So we'll go to EC2 and then it's going to say use the region selector in the navigation bar to select the region which supports your wavelength. So, I know that there's stuff in uh US West because of Las Vegas, right? Or not Las Vegas, but Los Angeles, right? So, if we go over here, there's definitely that over there. On the navigation pane of the EC2 dashboard, under account attributes, select zones. Okay. Do we see zones here? Zones. Oh, EC2 dashboard zones. Let's go check here again. On the navigation pane, choose EC2 dashboard. We are there, right? And under account attributes, uh settings, account attributes. Oh, over here. Okay. Oh, it's here. Zones. And so there we have two zones. And we see switch regions to make uh zones a different region. Okay. So, under zone groups, turn on wavelengths. Zone groups. Okay. Nothing there. So, I'm just going to switch over to another one here. Maybe Oregon. Maybe CS West 2. Oh, look at all the stuff we have here. I've never seen these before. Okay. So, here is the wavelength one. So, that is the Los Angeles one. We can go ahead and enable this before disable the zone group. I'm not sure what zone groups cost. So, wavelength zone pricing. Again, you might just want to watch me do this because it might cost money. Um, and so you might not want to have to spend for that pricing. uh provides mobile networks wavelengths are available across whatever learn about the data transfers in a price about EC2 instances. Okay. So what's the price we go into here? All right. So what I'm going to suggest to you is don't do this but I'm going to do it and we're just going to see what the experience is like. Okay. So I'm going to update my zone. So now I have this one. So we'll say enable. I'm gonna assume that it has to do with like data transfer costs. Okay. And uh we're going to go over to EC2 and we're going to go over to instances here. We're going to launch an instance and we're going to see if we we have that available. Now, I don't know if we're restricted to particular uh instances. I assume we can launch a Linux machine. It'd be really weird if we couldn't, you know. We'll go over to configuration and what we want to do is choose uh the zone. So how do we do it? So once it's turned on confirmation to confirm it, configure your network. So create a VPC, create a carrier gateway so you can connect your resources into the VPC to the telecommunication network. Holy smokes, this is complicated, but it's just kind of interesting to see like the process, right? You know, it's not for our use case, but uh carrier gateway, right? And as I do this, I always check up all the costs here. So I say carrier gateway pricing AWS because maybe that's where the price is. Okay, if you don't get a pricing page, then usually that's hard to say. Logically isolated virtual networks. And it's not telling me what um to use carrier, you need to opt into at least one wavelength zone. But I did, right? And sometimes what happens is that it just takes time for the opt-in to to go. So go here, manage the zone settings. That was a lot easier way. So we have one. It's we're opted in right here. Okay. And okay, we'll we'll go here again. If that one didn't work, um we can try. So I guess these are all the regions, Denver, things like that. Can I opt in opt into this one? Opt in. It's not super exciting. Like all we're going to do is launch an EC2 instance. But you know, we'll go through the process here a bit. And I don't know why I can't create one. So we'll go back over to the instructions here. Create so you can connect. So create a route table using the VPC to the route table. So I think that's as far as we're going to get here because I'm not seeing any options here. But the idea was that we would have to create a carrier gateway. We'd update our route tables and all we would be doing is launching an EC2 instance. So, you know, it's no different than launching it. You just choose a different subnet. So, I think you'd have to create a subnet for that zone and launch it in there. And that would be edge computing. Another example of edge computing would be something like via CloudFront, which we have uh these um edge functions or not edge functions. Yeah, functions here. And so these are functions that are deployed to CloudFront. So my CloudFront function and these would be deployed to um edge locations, right? And all you can use here is JavaScript. So here's an example of one and um I'm fine with this development live. This function is not published. We'll go to test. Test the function. It's good. publish publish that function. And so the advantage of this is that you know if you have functions that are in it was Lambda there's a chance of cold start um whereas if they're deployed on the edge here there's still probably a cold start but it's going to be a lot faster because it's a lot closer to the edge location. So um you know it's just a different uh different cases but yeah there was one where we're launching uh EC2 workload into wavelengths which we couldn't complete which is totally fine. And then we have these functions on the edge. There's other uh edge computing services like within SageMaker you can deploy I think it's called like neo sagemaker and then for IoT devices those are obviously on the edge so you can deploy those as well. Uh but generally that gives you an idea of edge computing. Okay. Hey Andrew Brown from Exam Pro and we're looking at cost and capacity management computing services. So before we talk about them let's define what is cost management. So this is how do we save money and we have capacity management. How do we meet the demand of traffic and usages through adding or upgrading servers. So let's get to it. The first are the different types of ECG pricing models. So you got spot instances, reserved instances, saving plans. These are ways to save on computing by paying up in full or partially or by committing to a yearly contract or multi-year contract uh or by being flexible about the availability interruption to computing services. We have adabis batch. So this plans, schedules and executes your batch compute workloads across the full range of adabus computing services which can utilize spot instances to save money. We have adabis compute optimizer. So suggest how to reduce cost and improve performance by using machine learning to analyze uh your uh your previous usage history. We have EC2 autoscaling groups. So ASGs. These automatically add or remove EC2 servers to meet the current demand of traffic. They will save you money and meet capacity since you only run the amount of servers you need. Then we have ELB. So elastic load balancer. So this distributes traffic to multiple instances. We can reroute traffic from unhealthy instances to healthy instances and can route traffic to EC2 instances running in different availability zones. And then we have elastic beantock here which is easy for deploying web applications without developers having to worry about setting up and understanding the underlying ad services similar to Heroku. It's a platform as a service. So not all these are about cost. Some them are about capacity management like ELB. Um but yeah there you go. Hey, this is Andrew Brown from Exampro and we are looking at the types of storage services and no matter what cloud service provider you're using, they're usually broken down into these three where we have blocks, file and um uh object. Okay, so let's take a look at the first. So this is going to be for block storage. So for AWS, this is called elastic block store. Data is split into evenly split blocks directly accessed by the operating system and supports only a single write volume. So imagine you have an application over here and that application is using a virtual machine that has a specific operating system and then it has a drive mounted to it. Uh could be using FC or uh SCSI here. Um but the idea here is when you need a virtual drive attached to your VM is when you're going to be using block. Okay. The next one here is for um file or it's just basically a file system. So this is AOS elastic file storage. So the file is stored with data and metadata multiple connections via a network share supports multiple reads writes locks the file. So over here uh we could have an application but it doesn't necessarily have to be an application. And so it's using NAS exports as the means to uh communicate. And so the protocols here can be NFS or SMB which are very common uh file system protocols. And so the idea here is when you need a file share where multiple users or VMs need to access the same drive. So this is pretty common where you might have multiple virtual machines and you just want to act as like one uh drive. Uh one example that could be like let's say you're running a Minecraft server. you're only allowed to have one world on a particular single drive, but you want to be able to have multiple virtual machines to maximize that compute. That'd be a case for that. Um, so there you go. Then the last one here is like object storage. And so for as this is called Amazon simple storage service or also known as S3. So object is stored with data, metadata, and a unique ID scales with limited uh uh with limited no file limit or storage limit. So there's really very there's very little limit to this. It just basically scales up supports multiple reads and rights. So there are no locks. And so the protocol here we're going to be using HTTPS and API. So when you just want to upload files and not have to worry about the underlying infrastructure, not intended for high uh IOPS, so input and outputs per seconds. Okay. So depending on how fast you have to do your read and writes are going to determine uh you know whether you're going uh this direction or the other way um or you know how many need to actually connect at at the same time and whether it has to be connected as a mount drive to the virtual machine. Okay. Hey, it's Andrew Brown from Exam Pro and we're going to do a short introduction into S3 because on the certified cloud practitioner, they ask you a little bit more than they used to and so we need to be a bit familiar with S3 because it is um at least I think that Abus considers its flagship uh storage uh service and it really is one of the earliest services is the second one ever launched. Okay, so what is object storage or object-based storage? So data storage architecture that manages data as objects as opposed to other storage architectures. So file systems where uh these are others right so which manages data as files and a hierarchy and block storage which manages data as blocks with within sectors and tracks that get stored on an actual uh drive. And so uh the idea here is we have S3 which provides basically unlimited storage. You don't need to think about the underlying infrastructure. The S3 console provides interface for you to upload and access your data. Okay. So we have the concept of S3 objects. So objects contain your data. They are like files but objects may consist of a key. This is the name of the object, a value, the data itself made up of a sequence of bytes. The version ID when versioning enabled, the version of the object, metadata, additional information attached to the object, and then you have your S3 buckets. So buckets hold objects. Buckets can also have folders which in turn hold objects. S3 is a universal namespace. So bucket names must be unique. It's like having a domain name. Okay. And one other uh interesting thing is an individual object can be between zero bytes and up to 5 terabytes. So you have unlimited storage but you can't have uh files of uh incredible size. Uh I mean 5 terabytes is a lot but nothing beyond that for a single file. But just understand that you can actually have a zero byte file. Uh and for like associate certifications that can be a an actual question. So that's why it's there. All right, let's take a look at S3 storage classes. Um, and so for the certified cloud practitioner, we need to know generally what these are. For social levels, we need more detail than we have here, but let's get through it. So, Adabus offers a range of S3 storage classes that trade retrieval time, accessibility, durability for cheaper storage. And so, the farther down we go here, the more cost effective uh it should get uh pending uh you know, certain conditions. Okay, so when you put something into S3, it's going to go into the standard uh tier, the default tier here, and this is uh incredibly fast. It has 99.99% availability, 11 9's durability, and it's replicated across three A's. And so uh you know, we have this cheaper meter here on the left hand side, and that would imply this is very expensive, and it's not actually expensive, but it is expensive at scale when you can uh better optimize it with these other tiers. So just understand that. Um then you have the S3 intelligent taring. So this uses ML to analyze objects and usage and determine the appropriate storage class. Data is moved to the most cost-effective access tier without any performance impact or added overhead. Then you have S3 standard IIA which stands for infrequent access. This is just as fast as S3 standard but it's cheaper if you access the files less than once a month. There's going to be an additional retrieval fee applied. So if you do try to retrieve data as frequently as S3 standard, it's going to actually end up costing you more. So you don't want to do that. Okay. Then you have S3 one zone IIA. So as it says, it's running in a single zone. So it's as fast as S3 standard, but it's going to have lowered availability, but you're going to save money. Okay. There is one caveat though. Your data could get destroyed because it's remaining in a single uh A. So if that uh a or data centers um suffer a catastrophe, you're not going to have uh a duplicate of your data to retrieve it. Okay. Um and then you have S3 Glacier. So for long-term closed storage, retrieval of data can take minutes to hours, but it's very very very cheap. And then you have S3 Glacier uh deep archive, which is the lowest cost storage class, but the data retrieval is 12 hours. And so you know um all of these here to here these are all going to be in the same uh adabus S3 console or Amazon S3 console. S3 Glacier is basically like its own service but it's part of S3. So kind of lives in this weird state. There's one here that we didn't have on the list here which is S3 outputs because it has its own storage class and doesn't exactly fit well into um this kind of linear cheaper uh thing here. Okay. Hey, it's Andrew Brown from Exam Pro and we are taking a look at the AdW family. So, this is storage and compute devices used to physically move data in or out of the cloud when moving data over the internet or provide private connection that is too slow, difficult or costly. So, we have snow cone, snowball edge and snowmobile. And so, there originally was just snowball and then they came out with snowball edge. Uh, and edge introduced edge computing. That's why there's edge in the name. Uh but pretty much all of these devices have edge computing. Uh and they do individually come with some variants. So with the snowball snow cone, it comes in two sizes where it has 8 terabytes of usable storage and then there's one with 14 tab of usable storage. For Snowball Edge, it technically has like four versions, but I'm going to break it down to two for you. We have storage optimize where we have 80 terabytes of use um uh of usable storage there. And then compute optimized 30.9.5 terabytes. And even though it's not here, you get a lot of vCPUs and increased memory which could be very important if you need to do edge computing before you send that over to AWS. And then last here we have snowmobile which can uh store up to 100 uh pabytes of storage. Um, in the, uh, associates, I cover these in a lot more detail because there's so much more about these, like the security of them, how they're tamperproof, something like how they have networking built in, the the connection to them. But, you know, for this exam, that's just too much information. Um, you just need to know that there are three uh three ones in the family, and generally what the sizes are, and that they're going to be all placed into Amazon S3. What's interesting is that, you know, snowmobile only does 100 pabytes, but Adabus markets it as you can move exabytes of of um content because you can order more than one of these devices. So, they'll market it saying like Snowball Edge is when you want to move pabytes of data and Snowball mobile is when you want to move exabytes. But you can see that a single thing isn't in the exabytes, just in the pabyte. Okay. Hey, this is Andrew Brown from Exam Pro and we are taking a look at all the Adabus storage services in brief here. So, let's get to it. So, the first is simple storage service S3. This is a serverless object storage service. You can upload very large files and an unlimited amount of files. You pay for what you store. You don't worry about the underlying file system or upgrade the disc size. You have S3 Glacier. This is a cold storage service. It's designed as a lowcost storage solution for archiving and long-term backup. It uses previous generation uh HDD drives to get that low cost and it's highly secure and durable. We have elastic block store EBS. This is a persistent block storage service. It is a virtual hard drive in the cloud and you attach to EC2 instances. You can choose different kinds of hard drives. So SSD, IOPS, SSD, throughput HDD and um cold HHD. Okay. We have elastic file storage. So EFS. It is a cloudnative NFS file system service. So file storage uh you can mount to multiple EC2 instances at the same time when you need to share files between multiple servers. We have storage gateway. This is a hybrid cloud storage service that extends your on-remise storage to the cloud. We got three offerings here. File gateway so extend your local storage to Amazon S3. Volume gateway caches your local drive to S3 so you have a continuous backup of the local files in the cloud. tape gateway. So, stores files onto virtual tapes for backing up your files on very cost-effective long-term storage. We got one more page here because there's a lot of services here. We have Adabus Snow family. So, these are storage devices used to physically migrate large amounts of data to the cloud. And so, we have Snowball and Snowball Edge. These are briefcase size data storage devices between 50 to 80 terabytes. I don't believe Snowball is available anymore. It's just Snowball Edge. Uh, but it's good to have all of them in here so we can see what's going on. We have snowmobile. This is a cargo container filled with racks of storage and compute that is transported via a semi trailer tractor truck to transfer up to 100 pabytes of data per trailer. I don't think we're going to be ordering that anytime soon because that's pretty darn expensive, but that's cool. We have Snow Cone. This is a very small version of Snowball that can transfer 8 terabytes of data. We have adabus backup a fully managed backup service that makes it easy to centralize and automate the backup of data across multiple adabus services. So EC2 EBS RDS Dynamob EFS storage gateway you create the backup plans. We have cloud endure disaster recovery. So continuously replicates your machine in a lowcost staging area in your targets account and preferred region enabling fast and reliable recovery in case of IT data center failures. We have Amazon FSX. This is a feature-rich and highly performant file system that can be used for uh Windows. So that would be using SMB or Linux which uses Luster. And so there we have the Amazon FS FSX for Windows file server. So use SMB protocol and allow you to mount FSX to Windows servers. And then the Luster one which uses uh Linux Luster file system and allows you to mount F FSX Linux servers. Are there any storage services missing here? Not really. I mean you could count elastic container repository as one but um that's kind of something else or you could also count maybe um uh code commit but you know I kind of put those in a separate category where we where those are in our developer tools or our containers. Okay. Hey, this is Andrew and in this video we are going to go explore Amazon S3. This is a service you will probably come across a lot. So it's good to know this one inside and out. Um but for the scope of this we are just going to get a basic introduction into it. Uh so let's make our way over to S3. So S3 here is at the top. Notice it said that I was in CA Central. Um and so depending on where we are is where the buckets are going to initially create. I'm going to just switch over to North Virginia US East one. Uh and my recommendation again is make buckets in your primary area. So um I mean Canada that this would be totally fine but um I know that in North America I'll get 100% um or North Virginia I'll get 100% of the features um for learning. So that would be probably optimal for learning here. Uh let's go ahead and create ourselves a bucket. So notice we have general purpose or directory. Uh and so there is a clear difference between these two. General purpose is recommended for basically everything and directory is for low latency uses. Um, this works specifically with S3 Express one zone storage, but we are going to focus just on general purpose. And we now also have this newer feature where you can choose either a global namespace or account regional namespace. Um, historically the challenge with uh S3 was always naming your bucket because if someone had the same name as you, um, then you wouldn't be able to create your bucket. Um, and what people would do is they would put in things like their domain name and you'd have to put your domain name when you're doing website hosting. So here I do like zampro.co. if somebody already had that, you wouldn't be able to create the bucket, which is very frustrating. So, you'd be running to get your bucket name, but now they have this account regional namespace and it's going to put this suffix here, but then allows you to say like if I want examro.co, I'm not going to have conflicts there. But we're going to stay focused on the global namespace for the time being. And I'm just going to say my new bucket, which I seem to name a lot of these this and then I just put some random numbers. Um, that way we will not have any conflicts here in the global namespace. And so that is good there. Then we have our object ownership. So here we have ACL disabled. So access control lists is one of the oldest methods of providing access um to buckets where um it's just like broad controls and generally it's not used anymore. There are some legacy cases. So obviously legacy customers who pay a really high bill and do not want to change their workflows uh continue to use these but really um ACL's are not recommended and um you should be using bucket policies. Then we have our block public access settings. So at one point um this did not exist and so people would misconfigure very often um access to their buckets and so AWS said we need to have this explicit option where um it's we block all public access by default and if you really want to have public access you'll have to um take off this safeguard and then you know that you're responsible for any data leaks. All right we have bucket versioning. So this will allow us to version files that are in here. Um it's kind of a pain once we turn it on to get things out of it. Um but it's very very good feature if you want to make sure your files stay within your bucket especially if let's say your account was compromised. If you had uh versioning then they have to remove all the versions and uh there's a lot of work involved there. Um we can have encryption and there's different modes. We'll leave that alone for now. Actually it looks like the bucket key is enabled. Um and it's by default. I think originally it wasn't turned on. So now they have it on by default. But you can see we have three types here. managed by AWS which is um the easiest way then you can generate out your own key but it's still managed by AWS and then we have this dual layer server sides where there is multiple layers of encryption and then for advanced settings we have object lock and so this is really really useful um uh like if you want to not have data loss is to turn this on because then you know you it's not going to overwrite or delete files they'll just they'll just stay there uh for fixed time indefinitely. So definitely object log is a very strong feature uh when you need to make sure your data stays around or if someone was to come in and compromise your account that they couldn't get just get rid of your data, but you have to have that with versioning. I'm not going to turn that on because it's a big big pain in the butt to uh uh delete the data. But we'll go ahead and create this bucket. And so now we have a bucket. So pretty straightforward. Um I think we're going to want to upload some files to this bucket. So, normally I will go find some graphics um on uh on the internet, but I'm going to go ahead and just use chatbt here today as they have a new image model and this is the future might not be so new anymore, but I'm going to ask it to generate me some images. So, I'm just going to give it a prompt. Uh so, just a moment here. Okay, so we have an image generated. And here it is. It's kind of a mix of different levels of Star Trek. It's uh unusual, but I actually wanted four images, but I guess it made a photo of four people, which is fine. Uh, and so I'm going to go ahead and download this image. So, just give me just a moment here. And this will be uh Star Trek like photo. I'm just naming it here offscreen. And then, you know, in your folder, you just drag it on in here and it should just upload. Um, and I think originally like when you used to drag here, there used to not be this confirmation screen, but I guess they I mean this was here last time I I recorded this video, but uh they've definitely improved it. But I guess it's just a good way to uh make sure you add lots of files or folders. I think before you couldn't add folders. So now being able to drop an entire folder and preserve that structure is very very interesting. So that is good. Uh notice here that bucking version is not on here. It's showing the encryption type and that object lock is disabled. Notice that uh we do not have any permission setup as um we we'll have to do that separately. And then if you drop down properties here, we can see the storage class which will change the cost of uh what we're utilizing based on the tier. So standard is a good starting tier. Um but until you have other use cases where let's say you have data that's infrequently accessed, then you'd move it to that tier. Or if you want uh long-term storage where you're barely ever touching that data, um but there's a cost of retrieving that data, then there's those options. But we for now we'll leave it under standard. Um here the server side encryption key will just use whatever Amazon S3 uses which is good. The check sum just makes sure that when a file is uploaded it's verifying that the data actually matches what it is. So here we have a bunch of other methods for or types of methods for doing a check sum. Um I mean I recognize Shaw and I don't know these more advanced ones but I'm sure they are good. And we will continue. Oh just before we do just notice that there's metadata. You can attach metadata to this. We'll just say user defined. We'll just say um photo group Star Trek. Okay. And we'll go ahead and upload that there. Metadaya is very very good at um helping you determine what stuff is. But the metadata is not attached to the image. It's stored alongside the image because if you actually have images on your computer, you can store metadata literally in the image. But that's not what we're doing here. Okay. Um but we'll go over to here. And now we have our image. And if we want to download it, we can go ahead and download it. So there it is downloading. Pretty simple. Um for in terms of actions, there are a few things that we could set. Um I think that would be useful is to show pre-signed URL. So let's say you wanted to share a link to someone that someone could download and that link would expire. That's a pre-signed URL. And we could set the minutes an hour. So it might say just five minutes here and create a pre-signed URL. And so now I'm going to copy that to my clipboard. I'm going to open up an incognito tab just so that it's not sharing the same session. and we'll paste it in there and we'll see if it downloads. And so there's that image. And so that's the way that you can share um files to other people. But of course, you obviously have to set an expiry on there. And so that is a a very very good method uh for doing that. Um generally like when files are in here, they're not easy to move around. And so um you know, again, this is not a real file system. So except now they do have file systems. So this is a new feature where you can sync this to your computer. But generally this is not actually a file system. And so moving things around here can be quite painful. Um, and if we go over here, I mean, they never used to have a dedicated metadata tab, but that's kind of interesting. And we did apply some kind of metadata here, but notice that we don't see any of it here. So create metadata configuration for your bucket. So create a configuration, generate and store metadata in S3 metadata tables. So it sounds like the automation of uh setting up metadata, but we'll do that alone because that's more of an advanced feature. Uh we'll go under properties here and see what other uh options we have here. Um so what I'm looking for is our bucket policies. They're probably under permissions. Here we go. Permissions. And so let's say we wanted to create a bucket policy, but before we can, we have to uh change the block access information. So if we go ahead here, I'm going to change this out. Actually, before I do, I just want to show you that if you go into an item, notice that it has a URL, like a a physical URL. And if I was to open this in a new tab, I should not be able to access it. See, I get an access denied. So, let's say we wanted to make this accessible. Uh, so we what we'll do, notice we have permissions here, but we have to do it at the bucket level. So, what we'll do is go to our permissions, and we cannot set a bucket policy without turning this off. So, we're going to say block all public access. I actually won't use ACL, so I leave it alone. But here we have two, which is a new bucket policy or any uh uh objects through a bucket policy or access policy. So, I'm going to keep those two unchecked. So, I can um set a bucket policy here. And so now with that turned off, if we go over here, it should still be access denied. And so now we can make our policy which will allow us to access it. So, I'm going to go ahead here and edit it. Now, we do have policy examples. And if we scroll on down here, we should see one for accessing HTTP requests. Here we go. And that one's kind of okay. I think we'll just write our own here. It's not that hard to do. So, here we have our statement. And I'm going to go over to S3 and we'll choose S3. And we want to grant objects. So, we'll say uh get object. Here it is. So, get object. And uh we can specify the exact resource. So we can say all resources or a very specific object here. Um so I'm going to just say all for now. All resources. And you can also identify like a principal but like which accounts can access it. But we're just going to go ahead here and save this resource. And here it says missing the Oh, we have to have a principal field. Fair enough. Okay. And so we'll go ahead here. I'm not sure if it shows up under here. Principal No, I think it's part of the standard one, right? Yeah, here. It's not a condition. It's it's a literal principle. I'm not sure why they don't insert it in the editor automatically for us, which is fine. Oh, it's right here. Sorry. It is inserted here. So, we're just saying from anywhere. So, anybody from any account, from any user, from anywhere is allowed to utilize it. We'll go ahead and save it. Um, we do have an invalid issue. It could be the format of the resource as normally the resource is formatted based on um the AR of the bucket. So here it's saying access to this bucket or file. So I'm going to go grab the second one here. Notice you can't exactly trust this editor. You have to know what you're doing. And so I'm going to go ahead and grab the bucket name here. And I'm going to paste it into place here. And we're saying everything in this bucket, all the files, um we should be able to read. So we'll go ahead and we'll save changes. And so now we have our bucket policy. So in theory we should be able to read the style. Now we h we have that. The only problem with this bucket policy is that it's very permissive because it's saying anything in this bucket. And this is where people run into problems. So what we can do is just lock this down either with conditions or saying a very specific resource. So if we only wanted to allow this file, what we could do is go ahead here and do this. And we could go ahead and save that. Right? And so now we can still access it. So, if we had a second image, I'm going to upload a second image. We'll see um what will happen. So, just give me a moment to generate another one. So, I've generated a new file. I'm going to go back over to um our bucket, which I don't know where it is now. So, I'm going to just sort based on date, and we'll go into the bucket here, and I'm going to go ahead and drag on in the second one here. And we will upload that. And so, now we have uh two two images in our bucket. So, what I want to do here is just see if I can access the other one. So, we'll go ahead and give it a hyphen 2, right? And we can't. Okay. So, that is a good way to implement our um permissions. I think there's just one other thing that I would like to show you while we're in here. And look, look at all the types. We have directory, table, and vector buckets. They just keep adding more and more types, which is fine. But, um the thing that I want to show you is um life cycle rules. So life cycle rules is a means to move files from one uh from one tier to another. And so this is very useful if you need something in long-term storage. So something that you use right away, but you know after a certain period of time it should be infrequently access or into glacier storage or deeper storage. Uh you might not want to do this if um you don't want to be able to delete the files. Um sometimes when we move them into those other ones, they have to stay in other ones after a while. We'll say standard uh to uh glacier. Okay. Uh we could also just say to infrequent, I guess, to if infrequent, but there's different rules based on what we're allowed to do. So here, limit the scope of this rule to using one or more filters. Apply. I'm going to say all to objects here. So say acknowledge. And here we have transition current versions of objects between storage classes if we have versioning turned on, which we don't. Transition non-current versions of objects. So, we'll do this one because that's what we have is non-current versions. Here we also have permanent delete non-current versions of objects. I kind of like this uh delete after a while. So, uh delete after a while. I think that's a better use case then. That way we don't have to worry about these buckets sticking around. We can't get rid of them. So, permanently delete non-current versions. So, days after, so there's probably a default number. I'm going to give it one, but probably won't let me do that. Maybe it will. So, days after objects become non-current, number of new versions to retain. zero. It says one or zero. We'll say one. And so here day zero object becomes down current. Day one all are are retained. And then it does that. So we'll go ahead and create that rule. And so now we have that rule there. And it's pretty straightforward. So it's going to be hard for us to observe this because we'd have to wait a day. I'm not doing that. But I think we basically covered the basics, but obviously there's a lot going on in S3. Tons and tons of stuff. Um, so we're going to leave it there, but we'll go ahead and clean up this bucket. So, if we want to delete this bucket, um, we first have to empty it. So, we have to go to the top level here, select it, and we'll go delete. But it'll say, "Oh, it's not empty." We'll go and empty it first. And then to empty it, we're'll have to copy this and paste it in here as such. And we'll go ahead and empty that bucket. And then we'll exit it. And we will go and now delete this bucket. There we go. And we'll delete it. And we're all now cleaned up. So, there you go. So that's the basics of S3. Hey, this is Andrew. In this video, I want to just point out some things about Elastic Block Store. So Elastic Block Store are the virtual drives that you attach to your virtual machines. And so this uh feature or service lives under the EC2 console. So we'll make our way over to EC2. You'll notice here we have elastic block store where we have volumes that we can create snapshots which are um saved versions of our volumes and we can manage the life cycle of our volumes just like uh S3. And so um you don't normally need to create volumes separately here. I mean really depends on what you're doing. But notice that we can set the IOPS, the throughput, the the size, where it is, um if it's being loaded from a snapshot, and then this could be attached to a virtual machine, but generally you're not creating them here first. You usually create them on launch. So if we go to launch instances here, and we scroll on down, we have an option for configure storage. And here we can change the amount. I believe it goes up to 30 gigabytes in the free storage for GPT3, GP3. Um, and depending on what region you're in, uh, some hardware is just not available and specifically region availability zone. So maybe in Canada Central 1D, I don't have GP3 yet, and so I or GP GP3 and I have to use GP2, but they're generally both really really good, but obviously newer is better when it comes to drives and features. Um, notice here that it's showing that it's not encrypted. Um, and so if we wanted more information here that we could tweak now, we can uh tweak more of that stuff. Not everything, I don't think, appears here. Maybe some stuff only appears when you're creating new volumes, but mostly everything. Uh, but here we can just drop this down and encrypt it for whatever reason. Um, any of us just never encrypted these by default. Other providers do. Um, and you can turn this on later on. But if you can, uh, turn it on now because if you don't, then you have to do this whole thing where you snapshot it and launch a new one. It's a big pain in the butt. Um, also notice that like this is the root volume. Uh, so, uh, there are some limitations of what we can actually utilize. So, if I could just give this a nice refresh here for a second and we go back down to our storage, wherever that was. Here it is. Uh, and notice that some of these things are grayed out. But if I attach another volume, these ones can be attached. Okay. So, there are just certain things that cannot be a root volume. Um, which is totally fine. But I think that's about it. So there you go. Cha chia. Hey, it's Andrew. In this video, we're going to explore f elastic file system. So we'll go ahead and type in EFS at the top here. So EFS is really really useful if let's say you have multiple virtual machines or even let's say your local computer, you want to connect them all to the same drive uh so that they are sharing the same uh uh stuff. And so that is basically what it is. So we're basically creating a file system. Um and there should be a serverless version here. So notice it says throughput elastic. So it's basically whatever we use. Um you know you can just watch this and see how I do it. It's up to you. Or you can follow through here. But I expect the class to be extremely minimal. So say my EFS example as what we're creating here. And every time I do this they've changed it. So I'm going to go ahead and go to customize and see all the options. Uh so we have regional or one zone. Obviously we want to be regional. One zone is for um uh low-level latency which we are not utilizing. Here we have backups. I'm going to turn that off because I really do not need backups. Here we have the life cycle management. So the idea here is that after x amount of days it will move stuff over. That is definitely new. I'm going to set those to none. Um encryption at rest is a great idea. And here we have our different modes. We have enhanced and bursting. So when I used this last there wasn't this many modes. So let's give it a review. So enhanced provides more flexibility through throughput levels and bursting provides throughput that scales the amount of storage for workloads basic performance requirements. And so I don't think there's going to be a huge difference between these two. Um but obviously what's going to be more cost effective is choosing elastic over provision. Provisioned is we are choosing throughput. Um and I do not want to figure that out. So we will stick with elastic. And down below if we wanted to choose more IO we possibly could. But in whatever this setup is, maybe it's our performance settings not going to let us choose that. So we'll go ahead and hit next. And so we have our mount targets. They always give you a bunch. Uh well each technically one for every single availability zones. That way when you mount it, you can mount it to anywhere. Notice that we are deploying this into a very specific VPC. So our virtual machines and other stuff will need to generally set in the same VPC if we want it to work. We do have a policy editor if we want to um set up some file system access. I'm going to leave it alone. And basically, we should have no problems working with this. Go ahead and create that. And we will wait for it to create. I think it's instant. Uh oh, it's not instant, but it's pretty pretty fast normally. There we go. And so now we'll go into here. Uh in order to utilize it, we're going to need an access point. So that is definitely something we will need to create. So we'll go ahead here and I'll just say my access point and it's going to default to the uh to the root. So I'll go ahead and just put that in there. And there's some optional post six information and some other root information. I'm going to leave all that alone. We'll go go ahead and create that access point. And so I believe if we click into here, it should tell us um instructions on how to utilize it. Normally it does. I think we're viewing it right now, but in the past it would just show us the information like I'd have like a thing I could click. Oh, view details. Is it over here? No. Where's my instructions? Oh, you know what? Maybe it's on this attach button. Here we go. And so here is a method of how we can mount. Now it used to be really complicated back in the day there used to be a ton of steps but u since uh last time they've implemented this EFS mount helper and so it really does simplify um the process. Okay. So if you are mounting uh on other systems there's definitely more steps. I'm not exactly sure where the docs are anymore. They just keep changing it on me here. Um but what we'll do is go ahead and launch an EC2 instance and get this mounted. Okay. So, we will go over to here into EC2 and notice that we didn't choose any volume size as is basically serverless storage. It's going to scale based on what we utilize and that's what's going to cost. So, we'll go ahead and say my new instance and we'll just go ahead and launch this. Um, if we wanted to attach that file system, actually, we probably could go here and just do that right here. Currently have no file systems on this instance. must select a subnet before you can add an EFS system. Fair enough. I mean, I guess we need an explicit one. It should it should have a mount point in all directory. So, that should be not an issue. So, we could have created it right here, but I'm going to go ahead and add a file system. And we have this one right here. Whoops. So, this specified system does not have any mount targets. Oops. Oh, that's the maybe the old one that that I deleted. So, we'll go back over to this one. We'll just make sure that is the same one. So we have FS0A FF0A and so this is obviously an older mount point that doesn't exist. It's showing its uh location where it'll be mounted. We'll go ahead and launch this instance. I'm going to proceed without a key pair. As I noticed with instance connect, we could just get instantly in. Um so I'll just do that to get into this machine. And so we will wait for this to launch. Takes a little bit of time. So be back here in just a few minutes. Okay. All right. So it's been a few minutes. I'm going to give this a refresh and see if it is ready. And I'm looking for the instance state to be uh running. And normally we have two checks. We need it to pass. And it's still initializing those checks. So I'm going to wait for those to finish. And then we will connect. All right. And so our status checks have should have passed by now. We'll go ahead and connect to this instance. Um and so I'm just going to use the EC2 instance connect as that is a direct way to get into this machine. And so the question is is it already mounted which would save us a lot of steps as normally you would have to run stuff but I'm assuming that it might have already done that. Um so we are now in this machine and I want to take a look at where that pathing was. So normally like might have the volume directory. Let me see here. So we'll do ls- la at the root directory. Um and do we have a mount directory? M mnt. That's usually what we want to go into. CD mount. Oh, sorry. For slashmount. There we go. And we do have EFS. There it is. Oops. Type in clear because I can't see what I'm doing. And we'll do EFS. FS1. And so we, I believe, are in that drive. So, I'm going to go ahead and just touch a new file here called hello.txt. And we don't have permissions. So, I'll just put pseudo in here. And so, now I seem to have this file. So the idea here is that this file now lives in EFS EFS. Actually, I'm just going to edit this file. You can do nano if you want. I believe nano is I don't like nano, but it's an easier way to work with it. Say hello world in here. So I'm just typing hello world. It's just a built-in editor. Hello. I'm having such a hard time typing it. And then uh we have here control X. So I'll do control X to quit. And I'll say Y for yes. And I'll hit enter. We get permission denied. So I'll just hit X and I'll just say no. And so we'll try this again with pseudo on that. And so I'll just type in hello world. And then I will exit. And I'll say yes and enter. And now I just want to make sure that content is there. So I'll go ahead and there it is. So the idea is that the file system does not live with the EC2 instance. And so if I was to tear this down and launch a new one, I should be able to get it. In fact, I could have two connect at the same time and and share the data. I'm not going to go that complicated. I do show that in the more advanced courses, but we're going to keep it simple here. So, I'll say my web server too. And we did well my my storage server or just my my server 2. My server 2, but we did tear down the other one. So, we'll go all the way down here. And it doesn't matter what um subnet we put it in because there are again mount zones everywhere. So, we'll go over to here and I'm going to go over to our file system. choose EFS and we will add a shared file system. There it is. And so this one's over here. Now we'll go ahead and launch this instance. We'll launch without a key pair. Whoops. And we be back in just a moment uh when it passes both those checks and it is uh online and available. Okay. All right. It's been a while. Let's take a look here and see if it's ready. So the instance is uh ready. Did it pass it checks? Um, no, no, not yet. Okay, I'll just continue waiting. Usually, I remember it being faster than this, but that's fine. We'll wait. All right, so our paths have uh checked our checks have passed and we'll go ahead and give this a connection over to here and we should be connected. Good. So, we'll go over to that mount directory and all we're observing here is is that file in there. That's all we care about, right? So, we go into here. There it is. I'm going to just cat out the contents. So, yeah, it's, you know, storage or a file system that we can mount and utilize in other places. So, it's quite nice there. Uh, and that's all I really wanted to show you. Of course, there's a lot more that we can do with it, but um, again, we're just keeping it nice and simple here, so you just get some experience with this tooling. I'm going to go over here and see if I can tear down the EFS. I wonder if there was a reason why my old one wasn't torn down. It still isn't torn down. So, I'm going to go ahead here. probably have to delete the access points first. Usually, this is how they like you to do things is first you delete the access point and then we'll go ahead and try to delete this. Mhm. Okay. Does that work? And this one's deleting the mount. So, that's good. Well, that one's going. I'm going to go get rid of my other one. It's the same procedure. Probably what I didn't do was delete the access point in my old one. Yeah. And that's probably why it did not get rid of it. Okay. And I'll just go back over to here. Whoops. And so now they should be gone. There we go. See you the next one. Chow chow. Hey, this is Andrew Brown from Exam Pro and we are taking a look at what is a database. So a database is a data store that stores semistructured and structured data. And just to emphasize a bit more, a database stores more complex data stores because it requires using formal design and modeling techniques. So databases can generally be categorized as either being relational. So structured data that strongly represents tabular data. So we're talking about tables, rows, and columns. So there's a concept of row oriented or colummer oriented. And then we have non relational databases. So these are semistructured that may or may not distinctly resemble tabular data. So here is a very uh simple example. The idea is that you might some use some kind of language like SQL put in your database and you'll get back out tables for relational databases. Let's just talk about some of the functionality that these databases have. So they could be uh using a special specialized language to uh query. So retrieve data. So in this case SQL specialized modeling strategies to optimize retrieval for different use cases. uh more fine-tuned control over the transformation of the data into useful data structures or reports and normally a database infers uh someone is usually using using a a relational row oriented data store. So um you know just understand that when people say database that's usually what they're talking about like Postgress, MySQL relational row store is usually the default but obviously there there's a lot more broader terms there. Okay. Hey, this is Andrew Brown from Exam Pro and we are taking a look at what is a data warehouse. So it's a relational data store designed for analytical workloads which is generally column oriented data store. Okay, so companies will have terabytes and millions of rows of data and they'll need a fast way to be able to produce analytics reports. So data warehouses generally perform aggregation. So aggregation is the idea of grouping data together. So find a total or an average. Uh, and data warehouses are optimized around columns since they need to quickly aggregate column data. And so here's kind of a a diagram of um a data warehouse. And so the idea is that it could be ingesting data uh from a regular database. Here I'm just getting out my pen tool. So it could be a regular database or it could be coming from a different data source that isn't compatible in terms of a schema and you use like ETL or ELT uh or ETL to get that data into that data warehouse. So data warehouses are generally designed uh to be hot. So hot means that they can return queries very fast even though they have vast amounts of data. Data warehouses are infrequently accessed, meaning they aren't intended for real-time reporting, but maybe once or twice a day uh or once a week to generate business and uh user reports. Of course, it's going to vary based on the um the service that is offering the data warehouse. A data warehouse needs to consume data from a relational database on a regular basis. And again, it can consume it from other places, but you'll have to transform it to get it in there. Okay. Hey, this is Andy Brown from Exam Pro and we're taking a look at a key value store. So, a key value store or database is a type of non-reational database or NoSQL that uses a simple key value method to store data. And so, key value stores are dumb and fast. Uh, but they generally lack features like relationships, indexes, aggregation. Of course, there are going to be providers out there that have managed solutions that might uh polyfill some of those uh issues there. But I want to show you the underlying way that key value stores work to kind of distinguish them between document stores. So a key value store is literally a unique key alongside a value. And the reason I'm representing that as zeros and ones is because I want you to understand that that's what it is. It's basically just some kind of of data there and how the key value uh store interprets it is going to determine what it is. So when you look at a document database that is just a key value store that uh uh interprets the value as being documents, right? And so key value stores can and do commonly store um uh multiple uh like an associative array. That's pretty common. So even for Dynamo DB, that's how it does it. And so that's why when you look at a key value store, it looks like it a a table, but it's not actually a table. It's schema list because underneath it's really just um you know that associative array. And so that's why you can have uh columns or sorry rows that have uh different amounts of columns. Okay, so due to the design, they are able to scale very well beyond a relational database and they can kind of work like a relational database without all the bells and whistles. So hopefully you know that makes sense. Okay. All right. Let's take a look at document stores. So a document store is a NoSQL database that stores documents as its primary data structure. And a document could be an XML uh type of uh structure. But it also could be something like JSON or JSON like document stores are subclasses of key value stores. uh and the components of a document store are very uh comparable to relational databases. So just kind of an example here where in a relational database they'd be called tables. Now you have collections, they were called rows, now they're called documents, you had columns, they had fields, they may have indexes, and then joins might be called embedding and linking. So you can translate that knowledge over. uh you know they they're not as um they don't have the same kind of feature set as a relational database but you have better scalability and honestly document stores are just key value stores with some additional features built on top of it. Okay. Hey Brown from Exam Pro and we're going to take a look at the NoSQL database services that are available on AWS. So we have Dynamob which is a serverless NoSQL key value and document database. is designed to scale to billions of records with guaranteed consistent data returned in at least a second. You do not have to worry about managing shards. And DynamoB is Adabus' flagship database service. Meaning whenever we think of a database service that just scales, is cost-effective and very fast. We should think of DynamoB. And in 2019, Amazon, the online shopping retail uh shut down their last Oracle database and completed their migration to DynamoB. So they had 7,500 Oracle databases with 75 pabytes of data and with Dynamob they reduced that cost by 60% and reduced the latency by 40%. So that's kind of to be like a testimonial between relational and a NoSQL database. So when we want a massively scalable database that is what we want Dynamob for and I really just want to put that there because it if you remember that you're going to always be able to pass uh or get those questions right on the exam. Okay. Then we have document DB. So this is a NoSQL document database that is MongoDB compatible. Uh so MongoDB is very popular NoSQL among developers. There were open source licensing issues around using open source MongoDB. So Adus got around it by just building their own MongoDB database basically. So when do you want a MongoDB like database? You're going to be using document DB. We have Amazon keyspaces. This is a fully managed Apache Cassandra database. So Cassandra is an open source NoSQL key value database similar to Dynamob that is colummer store database but has some additional functionality. So when you want to use Apachi Cassandra you're using Amazon key spaces. Hey this is Andrew Brown from Exam Pro and we are taking a look at relational database services starting with relational database service RDS and this is a relational database service that supports multiple SQL engines. So relational is synonyominous with SQL and online transactional processing OLTP and relational databases are the most commonly used type of database among tech companies and startups just because they're so easy to use. I use them. I love them. Um RDS supports the following SQL engines. We first have MySQL. So this is the most popular open source SQL database. Uh and it was purchased and is now owned by Oracle. Uh, and there's an interesting story there because when Oracle purchased it, they weren't supposed to have it. Um, Mario DB was or sorry, MySQL was sold to Oracle Sun Systems and then within the year um, uh, Oracle purchased it from them and the original creators never wanted it to go to Oracle um, just because of their uh, the way they do licensing and things like that. And so um the original creators came back and they decided to fork MySQL and then maintain it as Mariab just so that uh you know Oracle never kind of pushed away the most popular um database so that everyone had to go to a paid solution. Then you have Postgress. So Psql as it's commonly known is the most popular open source SQL database among developers. This is the one I like to use because it has so many rich features over my school. Uh but but it does come with added complexity. Then Oracle has its own SQL proprietary database which is well used by enterprise companies but you have to buy a license to use it. Then you have Microsoft SQL. So Microsoft's proprietary SQL database and with this one you have to buy a license to use it. Uh then you have Aurora. So this is a fully managed database. Uh and there's a lot more to go uh going on here with Aurora. So we'll talk about it. It almost acts as a separate service but it is powered by RDS. So Aurora is a fully managed database of either MySQL so five times faster or Postgress SQL three times faster database. So when you want a highly available, durable and scalable and secure relational database for Postgress MySQL, you want to use Aurora. Uh then you have Aurora serverless. So this is a serverless ondemand version of Aurora. So when you want the most of the benefits of Aurora but you can trade uh off to have cold starts or you don't have lots of traffic or demand uh this is a way you can use Aurora in a serverless way. Then you have RDS on VMware. So this allows you to deploy RDS supported engines to onremise data centers. Uh the data center must be using VMware for server virtualization. So when you want databases managed by RDS on your own database center. Uh and yeah I realize that this is a small spelling mistake. should say just on here, but yeah, there you go. Hey, this is Andrew Brown from Exam Pro and we're looking at the other database services that AOS has because there's just a few loose ones here. So, let's talk about Redshift. So, it is a pabyte size data warehouse and data warehouses uh are for online analytical processing, OLAP. And data warehouses can be expensive because they are keeping data hot, meaning that they can run a very complex query and a large amount of data and get that data back very fast. So when you need to quickly generate analytics or reports from a large amount of data, you're going to be using Redshift. Then you have elastic. So this is a managed database of an in-memory and caching open source databases such as Reddus or memcache. So when you need to improve the performance of an application by adding a caching layer in front of your web servers or database, you're going to be using elastic. Then you have Neptune. This is a managed graph database. The data is represented as interconnected nodes. I believe that it uses Gremlin as the way to interface with it, which is no surprise because that's what it looks like most cluster providers are using. So when you need to understand the connections between data, so mapping fraud rings or social media relationships, uh very relational database heavy information, you're going to want to use Neptune. We have Amazon time streams. It's a fully managed time series database. So think of devices that send lots of data that are time-sensitive such as IoT devices. So when you need to measure how things change over time, we have Amazon quantum ledger database. This is a fully managed uh ledger database that provides transparent immutable cryptographically variable transaction logs. So when you need to record a history of financial activities that can be trusted. And the last one here is database migration service DMS. It's not a database per se but it's a migration service. So you can migrate from on premise database to AWS from two databases in different or same ad accounts using different SQL engines and from an SQL to a NoSQL database. And I'm pretty sure we cover this in a bit uh greater detail in this course. Okay. Hey, this is Andrew. In this video, we're going to go ahead and explore Dynamob. So, let's make our way over to the NoSQL database that is cheap, fast, and cool. Um, so what we'll need to do is create a new table. So, we'll just say my new table. Doesn't really matter what it is. And generally, you'll always have to set a partition key. uh you don't need the sort key, but if we just had to do two, we'll do email as a string. And then here we'd have created at date. Um there is a bit of a sensitivity when treating uh created at dates as or dates because you don't necessarily have a date format, but you can interpret date formats particular way. So you there is a bit of a strategy around choosing the correct date and whether that's compatible with TTL, but we're not going to worry about that right now. You can see that we have a bunch of default settings. Let's go to customize. So we can exp explicitly see what they they are. So we have standard and in infrequent access. So we're going to leave it on standard. We have on demand and provisioned. So on demand in this case is um basically whatever you use. It's like the most serverless. This is a serverless service, but this one is uh truly serverless in the sense that um it's exactly what you use and nothing else. For provision, you're saying, "Hey, I need a guaranteed throughput um of a particular min and max for reads and writes." Um, but for this we're just going to stick with on demand. Uh, we'll scroll on down here. And so we can set up secondary indexes, which we do not need. Um, we have our encryption, which is turned on by default. Uh, we can turn on deletion protection, which I'm not going to do. And then we can manage our policies. And we'll go ahead and create this table. And this creates extremely quickly. Usually does because there's not much going on here. But we will just pause here and wait. Okay. And there was really no reason to pause because it's already created. We'll go ahead here and let's go and insert some data. So, we'll explore the table items and somewhere here we should be able to create a new item. But notice that we can add whatever kind of attributes we want. So, um I can go here and just say Andrew at exampro.co. We'll say the date, whatever it is. I don't know what the date is. So, I'm going say 2050 for fun. And then we have this and we say uh the real Andrew. Okay. And we can go ahead and create that item. But each item because it's a nosql database does not have to follow the same schema. So we'll go here say bico examro.co and this will be 2025 or 2050 it's not 2025 but 20 2050 uh056 and we will add another attribute which is um we'll say number and we'll just say how many tires tire count and we'll put six. Again this I'm not trying to make any kind of logical data. I'm just showing that you can make records here and that they um do not have to be the same. So, we would normally use code like an API to extract data, but they do have the uh particle editor. I always called this party uh uh party QL, but then someone's like, "Oh, it's called particle." I'm like, "Oh, okay." But this allows us, I believe, to utilize um SQL uh in a natural way if you do not want to uh work with another way. So, I'm just going to go ahead and see if we could find some documentation on the party Q or particle particle SQL. Actually, it might automp complete if we just go start typing. We select from or what do we do if we click this over here? No, that's not very helpful. But we'll go over to here and find out via the user guide. So, somewhere here we should see particle particle. Nope. And so we'll just search for that uh for examples here. Here we go. Okay. So we have select expression from table condition. And I'm just trying to look for a full example. So here is kind of one. So we'll go ahead and just paste this in. We'll have to go grab our table name. So it's my new table. And we'll go here with email. I'm not sure if we title case that or not. If we go to explore our items here, it's capitalize and we'll say email with andrewexampro.co. Notice that it says it will incur charges. If you do not want to incur charges, you don't have to run this, but I know it's going to cost me pennies, so I'm not going to be worried about it. Um, and so there's something that is not fully formed in the statement. Maybe we need double quotations around uh that string there. There we go. And we do not get any results back. So there's something wrong with my query. So I'm going to just take a moment here to use chatbt and maybe it will help us through our query. So I'm going to go ahead and say I'm using parti particle. I get no results back even though email is my primary primary key. Okay. Okay. And we'll just wait a moment here and see if I can get a better query. I'm doing this offscreen here. It's going uh it's your quotas. It's not your primary key. Oh, it's your quotes. Okay. So, we'll go ahead and we'll try um singles. But what's strange here is they're showing doubles and then singles. That would have took forever to figure out. So, I'm glad if that's the case that it's helping us out here. And look at that. Isn't that bizarre? But there are there are reasons for that probably. But anyway, we were able to query our data. But that is DynamoB in a nutshell. There's just way too much about the service. Um, and this is something that we would cover in uh in a more advanced course, but this is enough for now. But there you go. That is Dynamo DB. Hey, this is Andrew. In this video, we're going to launch our own database using RDS. So, let's go to the RDS console and launch something new. So here we will go to databases and create ourselves a new database. Um, and notice we have like express configuration, full configuration. You just have to click into that. I don't like that they're doing that. We'll click here. Oh my goodness, they really are making things confusing. I do not like this. But you can obviously change your options and launch it. I'm not going to do it that way. I'm going to go the full configuration mode so we can see all of our options. So here we have a lot of different types of databases. Postgress, Maria, which is just a uh a flavor or a fork of MySQL, but I'm going to go with Postgress. Now, Aurora is great, except it gets very expensive very quickly, and we want something to be very cost- effective and something practical. So, we'll start with Postgress, which is um very popular amongst developers um just because it can do basically everything and it's easy to use. Here we have full configuration or easy create. We're going to continue continue on with full creation. We have production, dev, test or free. We're going to go free tier. And so that's going to make sure that it launches in a single availability zone. Um we have our engine. So you want to try to use the latest engine as that'll make things a lot easier. Uh there is the database identifier um which you cannot change later. So I would probably suggest making this something very very clear. Um but I'm going to leave it alone. We have the master username which is Postgress. And then we can set our password. I'm going to just make the password capital T. testing one two three four five six um and capital T testing one two three four five six so definitely not something super secure but it will work I'll give it an exclamation mark at the end here that might just help boost the strength there we go we're going to stick with password authentication so there's definitely multiple ways that we can authenticate again all these settings we would cover in greater detail in advanced courses um and then we can choose our instance type so apparently there's now a T4G micro Um, I'm still old. I remember like when there was a T1, you know, but now we're on to T4, which is totally fine. Uh, the availability of instance types is going to vary based on your region. So, some might not have this and then you might have to use a um a T3. Um, and so it's going to depending on where you are. We can obviously choose our uh disc. I would prefer GP GP3. I don't see why we would ever not use GP3 if it's a if it's available. Um, and then we'll go down below here. uh don't connect EC2 compute resources or be able to connect to it. I think I would like to be able to do that because I'm going to want to use an EC2 instance to connect to this and that will set us a b a bunch of stuff up here. But we will have to launch an EC2 instance beforehand so that we can actually uh do that. I'm going to just do that right now. Normally I would use some kind of thirdparty thing to connect to the database, but um I think this will be the easiest way to do it. So I'll just say my web server. We'll pretend that this is the thing that we'll be connecting um to it. And in here, we'll stick with Amazon Linux, which should be fine, a T3 micro. And we'll go ahead and launch this instance. I'm going to go proceed without key pair as we can just um use EC2 um connect serial connector or whatever it's called to get into this uh instance. So, we will just wait for that to launch. Um or I don't think we have to wait, but we can go over uh to our RDS. I already closed it out. We'll have to go back over to RDS and start that process all over again, which we might have had to do anyway to be honest. So, we'll go here and I do not like that. So, we'll go over to database, go to full configuration, choose Postgress, and just continue down here. Again, this is how you learn folks. You do it once, you do it twice, you do it three times. It's okay if we are backing out here. Okay, so we choose single availability zone. This is going to stay the same. This is going to stay the same. Um, they do have credential manage here. Actually, I'm going to say self-manage because if you have this, this is going to cost you $1 and I do not want to pay that. And so, we now have our password here. So, capital T testing 1 2 3 4 5 6. One thing I noticed was um Oh, free tier. That's why this looked a little bit different because before we it didn't show us that option, right? It was already um showing us to ask for us our password. So go ahead and try this again. Capital T testing 1 2 3 4 5 6 exclamation mark. Um this is fine. We'll switch this over to GP3 if it's available. If it's not for you, that's totally fine. We do want to connect to an EC2 compute resource and we will choose this one here. So it says adding EC2 compute resource automatically selects the BP subnets and public access settings. So this will make things super super easy for us. Um, after the database is created, you cannot change the VBC. That's totally fine. And we do want automatic setup. And here it's not letting us set public access, which is totally fine. So, normally, you know, what I would do is I wouldn't use an EC2 instance, and I would just set this to be um public access, and then we would just connect with it. But we're going to just try a different way today. Okay. Um, and just looking for any other settings. We don't need RDS proxy. That's useful if you are you use a llama and you need some kind of um uh pooling of pull requests. We're not doing that. We have the certificate there which is fine. The port is 5432 which is what it should be. Um we'll stick with standard. We don't need anything else uh for that. In fact, we can just disable performance insights as I do not need that information. And I think that might be everything. Oh, initial database name. We'll just say um we'll just say to-do prod as our application here. I do not want uh backups on as this is just for fun. Encryption can stay on. That's totally fine. Um no maintenance window period. So that is fine. So there should be no real cost with using this. So we'll go ahead and create this database. And this does take some time. If we had backups turned on, the first thing it would do is create a snapshot. We'd be waiting here forever. So that's why we skip that. And so we will just uh wait until this is ready. Okay. All right. So our database is up and ready. What we're going to do is go over to our EC2 instance here and see if we can establish a connection. So um to our actual database, but first we'll get in here. In order to do that, we're going to need the Postgress client. Now I don't remember what it is. uh to install here but we will just go over to chatbt and say how do I install the Postgress PS client on Amazon Linux 2 or 2003 or whatever. Yeah, it says 2023 2023 here. They keep changing it on us could be even a newer one here. And so here suggesting that we grab it like this and we will Oops, it didn't copy copy paste. So I'll just write it in here. No big deal. PostgrassQL. If that gets us installed, we will be in good shape here in just a moment. I mean, it seems like it's thinking. There we go. Okay, now it's waking up. Says there's not a match here. So, now it's saying to go ahead and do this. Uh, which kind of makes sense. We'll go ahead and choose 15. though um I think it matters which version of Postgress that we launch but generally there is a certain level of backwards compatibility so this might be fine so we'll go ahead and do this and so it's absolutely grabbing it now great so now we have the Postgress client so to connect to it we're going to need a URL string which we'll need to assemble so we'll go over to here and we need the endpoint URL um so what I'm looking for it's actually kind of interesting that we have oh did they did they uh make it so we easily connect to it because this is not something that they used to do before. Code snippet cloud shell. Wow, this is really really nice. I like the fact that they do this. So here it says connection steps. Follow the steps below. Um so here we have the global PM. Okay. Yeah, let's give this a try. I was not expecting this. Okay, so we'll go ahead and paste this in. I'm telling you folks, I've been using Adabus for a long time and teaching it for a long time, but every time I go on this console, you never know what you are going to find. Um, so you just got to keep up with the changes. So go ahead and we will copy this and rightclick paste. I'm uh doing rightclick copy paste just because it gets a little bit finicky here. And so we should be able to connect to our database now. Well, it' be nice if we can. And what's the password? Capital T. Testing 1 2 3 4 5 6 exclamation mark. And we are in. So, I'm going to go over here and just uh you know, give me a table with some data for Psql for um a to-do app. Okay. And we'll just wait a moment here. There we go. So, we'll go ahead and create a table. Paste. Hit enter. We just created our table. And there's some C data. Paste. We'll hit enter. And so now I can just say select all from to-dos. There's our data. Turn X on. We'll say select all limit one. There we go. So that worked. It's quite nice. Um, now of course having another instance just to connect to it is kind of expensive, but like if this is your web server, then that's a non-issue, right? Um and really like your database you don't really want it to be public facing. So connecting through an instance should be always the case uh that you are utilizing here. But we are done now. Let's go ahead and delete this database. Um cannot create the snapshot because uh it will identify as already exists. Okay. So it wants to create a snapshot. I actually don't want a snapshot. I just want it to delete. So we'll try this again. So I'm going to turn off the snapshot here because that's going to slow things down. I mean you might be making a snapshot and that's totally fine. it just takes forever. So I acknowledge I'm not using snapshot. So that is now spinning down. We'll go over to our EC2 instance and we will go ahead and terminate this. There we go. And I will just wait here and confirm everything is done just because you know if we forget about these they can get expensive. So I do not want to forget them. Okay. All right. Looks like everything is cleaned up and we'll just give this a refresh. Yes, we are good. I'll see you in the next one. Cha. All right, let's take a look at Redshift. So, Redshift is a data warehouse and it's generally really expensive. So, it's not something that you're going to want to launch uh dayto-day here, but let's see how far we can get with it um just by running through it. So, what we'll do is go ahead and create a cluster. And again, you can just watch me do this. You don't have to create uh you don't have to create one yourself. Uh so, free trial configure for learning. That sounds good to me. Uh is free for a limited time if your organization has never created a cluster. Well, I rarely ever create these. So when the trial ends, delete your cluster to void the charges of on demand. Okay, that sounds fair. Um, so here we're going to have two V3 CUS. It's going to launch a D a DC2 large. So let's look that up for pricing. Show me prices, please, please, please. Um, I think it's loading right here. Okay, so I don't know how much it is, but I know it is not cheap. And down below we have sample data is loaded into your Redshift cluster. That sounds good to me. Ticket is the sample data. Okay, ticket sample data. Redshift. I just imagine they probably have like a tutorial for it here. They do. right here. And so because I want to know what we need to do to query it, right? If we can even query it via the interface here. So the admin user is ads user. Um and the password is going to be capital T testing 1 2 3 4 5 6 exclamation. And we'll hit create cluster. Oh, cool. We can query the data right in here. So that's what I wasn't sure about whether we would be able to just query it in line because before you'd have to use Java with JDBC or an OBC driver and download the jar and it's not as fun as it sounds of course but it looks like we can query data once the data is loaded. So that looks really good. I guess we can pull data in from um the marketplace. So that's looks pretty nice too. And I guess we could probably integrate it into other things like Quicksite because you probably want to adjust your data over there. Again, I usually don't spend a lot of time in Redshift. Um, but looks like it's a lot easier to use. I'm very impressed with this. So, I don't know how long it takes to uh launch a Redshift cluster. I mean, it is 160 GB uh of of of storage there. It's uh even at the smallest, it's pretty large. So, what I'm going to do is to stop the video and I'll be back when uh this is done. Okay. Okay. Okay, so after a short little wait here, um it was a lot faster than I was expecting, but uh it's available. And so looks like here it says to query the sample data, use Redshift version two. So I'm going to click that. And I'm sure there's tons of buttons to get here. And it'd be great if it just populated the query for me. Um it doesn't, but this looks really nice. Really nice UI. I wonder if it has like some existing queries. No, that's okay. So, what I'm going to do here is I'm going to go ahead and pull out this query and see if we can get this to work here. Never found out what those prices were, though. Okay. And what we'll do is hit run. I like how there's like a limit of 100, but here it has that. So, we'll go ahead and hit run and see what data we get. So, relation sales does not exist. Okay. So, what's going on here? Um we'll go up here. So most of the examples in the Redshift documentation uses uh a sample database called ticket. This sample this small database consists of seven tables. You can load the ticket data set by following the this here. Okay. So to load the sample data from Amazon S3. Okay. So, I would have thought it already had the data in there. I could have swore it would have dev public tables zero tables. Okay. So, I don't think there's any data in here and so we're going to have to load it ourselves. I really thought it would have added it for us. Uh but let's go ahead and create these tables and see if this is as easy as we think. So run that create that table. Cool. Okay, we got it down here. We'll run that. We'll just run each at a time. I think there's seven of them. So date already exists. Okay, that's fine. Event already exists. It's saying all these tables exist. Maybe I just wasn't patient. H Okay. Um, interesting. All right. So, maybe we'll go back and uh run that query. Maybe we just had to wait a little while for that data to load. Run. Okay. So, you know what? I think it was doing this for us. Like, if if the if it did not create it for us, we would have to go through all these steps, which is fine because we're learning a little bit about um uh uh Redshift, but um uh it looks like we just had to wait there. So, it looks like you would run those, you download that, you use the copy command to bring it over there. Um it looks like you can do all of this via the uh this interface here. And we've done a query, so that's kind of cool. Um, I imagine you probably could like save it or export it. What if we chart it? What happens? Okay, you can chart it. That's kind of fun. Can we export it out to just We can save it. I thought maybe it could export out to Quicksite, but I I suppose you'd rebuild it in Quicksite, eh? But yeah, I guess that's it right there. So, that's pretty darn simple. So, what I'm going to do is make my way back over to Redshift because we are done for this example. And we will go over to clusters here. And I'm going to go ahead and delete my cluster. Delete. Create file snapshot. Nope. Delete. Delete the cluster. There we go. So, I'm pretty sure that will succeed. No problem there. And we are done with Redshift. And Redshift is super expensive. Just make sure that thing deletes. Okay. Hey, this is Andrew Brown from Exam Pro and we are taking a look here at cloudnative networking services. Um, and so I have this architectural diagram I created which has a lot of networking components. Uh, when people create networking diagrams for AWS, they don't always include all these things here even though they're there. So, we're just being a little bit ver verbose so you can see. Okay. The first thing is our VPC, our virtual private cloud. This is a logically isolated section of the adabus cloud where you can launch ads resources. That's where your uh resources are going to reside. Not all services uh require you to select a VPC um because they're managed by AWS, but I wouldn't be surprised if under the hood they are in their own VPC. Okay. Then if you want uh the internet to reach your services, you're going to need an internet gateway. Um then you need to figure out a way to route things to your uh various subnets, and that's where route tables uh come in. Then we need to def define a region that it's going to be which is a geographical location on your network. Then you have your availability zones which are basically your data centers where your ads resources are going to reside. Then you have subnets which is a logical partition of an IP network into multiple smaller network segments. Um and these pretty much map to your uh availability zones if you're making one per a. And then we have knackles. These act as a firewall at the subnet level. Then we have security groups that act as a firewall at the instance level. So hopefully that gives you a good overview. Okay. All right. So now let's take a look at enterprise or hybrid networking. So we have our onremise uh environments or your private cloud and then we have our adabus account or our public cloud. So there's a couple services here that we can bridge them together. The first is adabus virtual private network VPN. It's a secure connection between on premise remote offices and mobile employees. Then you have direct connect. This is a dedicated gigabit connection from on-remise data center to ad. So it's a very fast connection. A lot of times with direct connect we say it's a a private connection but that doesn't necessarily mean secure. It's not encrypting uh the data in transit. So very commonly these services are used together not just singular. Okay. Um and then uh we have private links. And so this is where you already uh are using AWS but you want to keep it all within as never going out to the internet. Okay. So these are generally called VPC interface endpoints and then the marketing pages called them private links which is a bit confusing but you know it just keeps traffic within the ads network so it does not transverse out to the internet. Okay. Hey this is Andy Brown from Exam Pro and we are taking a look at VPCs and subnets. So a VPC is a logically isolated section of the adabus network where you launch your adabus resources and you choose a range of IPs using a cider range. So a cider range is an IP address followed by uh this uh net mask or subna submask and that's going to determine how many IP addresses there are. Um and there's a bunch of math behind that which we're not going to get into. Um but anyway, so here is an architectural diagram just showing a VPC with a couple subnets. So subnets is a logical partition of an IP network into multiple uh smaller network segments. And so you're essentially breaking up your IP ranges for VPCs into smaller networks. So just thinking about cutting up a pie. Okay. So subnets need to have a smaller cider range uh to uh the VPC represent for their portion. So uh for/24 is actually smaller which is interesting. The the higher the number gets the smaller it gets. And so this would allocate 256 IP addresses. And so that's well smaller than 16. Okay, we have the concept of a public subnet. So this is one that can reach the internet and a private subnet. The one that cannot reach the internet. And um these are not uh strictly enforced by AWS. So the idea is that when you have a subnet, you can just say don't by default assign publicly assignable IP addresses. But it's totally possible to launch an EC2 instance into your private subnet and then turn on um uh the IP address. So you got to do other things to ensure that they stay private or public. Okay. Hey, it's Andrew Brown from Exam Pro and we are comparing security groups versus knackles. So I have this nice architectural diagram that has both knackles and security groups in them and we'll just kind of talk about these two. So, knackles stand for network access control list and they act as a virtual firewall at the subnet level. And so, here you can create an allow uh and deny rules. And this is really useful if you want to block a specific IP address known for abuse. And I'm and I'm going to just kind of um compare that against uh security groups because that's going to be a very important difference. Okay. So, sec security groups act as a firewall at the instance level and they implicitly deny all traffic. So, you create only allow rules. So you can allow an EC2 instance to access port on uh port 22 for SSH, but you cannot block a single IP address. And the reason I say that is because in order for you to block a single IP address in secure group, you would literally have to block or you would literally have to allow everything but that IP address. And that's just not feasible. Okay? And so if you can remember that one particular example, you'll always be able to remember the difference between these two. One other thing that um Adabus likes to do is is ask which ones are stateless, which ones are stateful. But at the uh cloud particular level, they're not going to be asking you that. Okay. All right. Let's learn a bit about u networking with AWS. So what I want you to do is go to the top and type in VPC, which stands for virtual private cloud. And what we'll do is set up our own VPC. It's not so important that you remember all the little bit of details, but you get through this so that you can remember the major components. So, what I'll do is create a new VPC. I'm going to call this my VBC uh tutorial. And here I'm going to say 10.0.0.016. The reason you're wondering why I'm doing that, if we go to XYXY Z here, um this tells you the size of it. So, I go here and I put 16. So, you can see we have a lot of room. If we do 24, it takes up it. It It's smaller. See? So, this is basically the size of it, right? The empty blocks over here. So, we're going to have a lot of room. So we do 10 000016. We don't need IPv6. We're going to go ahead and create that. And once we have that, we can go ahead and create a subnet, which we will need. So we're going to choose our VPC. We'll go down here and say my subnet tutorial. And we'll choose the first a. You can leave it blank. It'll choose it random. And then we need to choose a block that is smaller than the current one. So 16 would be definitely um uh well 16 is the size that we have now. So we can match that size but 10.0.0.0/24 would be absolutely smaller. Okay. So we go ahead and create that subnet. And so that is all set up now. Um let's see if our route table is hooked up. So our route table says where it links to and it says to local. So it's not going anywhere. And that's because we need to attach a uh internet gateway that allows us to reach the internet. So, if we go over here and create a new internet gateway, we'll say my IGW and we'll go ahead and create that. And what we'll do is associate that with our VPC we created here. Okay. And so now that we have the internet gateway attached, we want that subnet to make its way out to the internet. So, if we go to the route table, we can edit the uh route table association here. I like how it keeps on showing me this as if I don't know what I'm doing. Um, but I do. And so this would change that particular association, but I want to add to that route table. So I thought when I clicked that it would allow me to add more, but apparently I got to go to route tables over here. And I'm looking for the one that is ours. We can see that it's over here. Could even name it if we wanted to, like my route table. Notice when we apply uh uh uh names, it's actually just applying a tag. See over here, it's always what that is. So, we'll go over to routes and we want to edit the routes and we want to add a route. And we want this to go to 0000. And we're going to choose the internet gateway. Okay. We're going to say save changes. And what that's going to allow us to do is to reach the internet. Um and so what I want to do is go back to subnet. I was just curious about this. I've never used this before. Um, so looks like we could just choose some options here. I'm not too concerned about that, but I assume like that's used for debugging. Azure's had those kind of services for a long time and so adus has been starting to add those so you can easily debug your network, which is nice. So we have a subnet. The subnet uh can reach the internet because there's a there's um uh internet gateway and it's hooked up via the route table. One thing that matters is will it assign a public IP address. Um, so that is something that we might want to look into. It's not the default subnet, which is totally fine. So it says auto assign is no. So that might be something that you might want to change. So here we go to edit the table association. No, it's not there. They changed it on me. Used to be part of the uh setup instruction. Used to just checkbox it now and they moved it. Modify the auto assign. So we'll say enable. So that means it's always going to give it a public IP address on launch. And while we're here, I'm just going to double check if I have any elastic IPs I did not release. Okay, just double checking here. And so this is all set up and we should be able to launch a um EC2 now within our our new VPC. So I'll go over here to EC2. Okay. And I'm going to launch a new instance. say Amazon Elix 2. We're gonna choose this tier here. And now what we should be able to do is select that. And that is our subnet there. Okay. Go ahead and launch that. I don't care if we use a key whatsoever. So I'm going to go ahead and launch that there. Okay. We'll go back. And so there you go. It is launching. So, we created our VPC and we launched uh in it no problem whatsoever. So, hopefully that is pretty darn clear. Um, so yeah, uh, what I'm going to do is I'm going to let that launch because I want to show you security groups. So, within AWS, you can set security groups and knackles and that's going to allow or deny access based on stuff. And when we launch this EC2 instance, it has a default security group that was assigned. We could have created a new one, but what I might want to do is create myself a new security group here. Okay. And you can end up with a lot really fast. Like here is a bunch. And I can't even tell what's what. So like there's a bunch for load balancers and things like that. And so I might just go ahead and delete a bunch of these because I cannot tell what is going on here. And um we'll delete these security groups. And sometimes they won't let you delete them because they're associated with something like a network interface or something. All right. But um we need to find out which one we're using right now. So the one that we are using is the launch wizard 4. So we'll go into here. And I don't know if you can rename them after they've been created. I don't think so, which is kind of frustrating because if you want to rename it, it's like I don't want that to be the name. So, what's interesting is you can go here and you can edit the routes, uh, the rules, sorry, the inbound rules and the outbound rules. And so, here it's open on port 22. So, that allows us to SSH in. We could drop this down and choose different things. So, if we want people to access a website, we go port 80 and we say from anywhere, ipv46. So, now anyone can access it. um you might want to do something like give it access to Postgress that runs on port 5432 things like that um could be something else like maybe you need to connect to Redshift that's on that port you can go ahead and save those rules we're just going to say uh from anywhere you can even say my IP so maybe only I'm allowed to connect to it right so you added inbound rules you don't really ever have to touch outbound rules it's set for all traffic so it's stuff that's leaving uh the that there one interesting thing to note about uh security groups is that you don't have a deny option right so let's say you only wanted a particular IP address you only wanted um let's say what's my IP my IP address so that is my IP address and let's say I wanted to block it right so I go here and I say okay I want to block on all TCP I want to block this number, right? But I can't do that. All I can say is I allow this number. So, in order to do it, I would have to enter everything but this number in here. And you can enter ranges in with like these forward slashes and stuff like that. But you would imagine that'd be really hard because you have to start and go like you'd have to start and go through every single IP address in the world to get it out of here. And that's almost impossible. And that's the key thing I want you to remember about security groups. Um, so that's security groups. And there's also knackles. Knackles, um, they're associated with subnets, so they probably show up under VPC. I rarely touch knackles. Rarely ever have to. Um, I mean, they're great tools, but, you know, for me, I I just don't ever need them. So, knackles are associated with subnets. So, we can go here and try to see my subnet tutorial. So, we created our subnet. We got a knackle for free. And we can set inbound and outbound rules. And so here here is where we could say okay I want to add a new rule and I want to and I want to make the rule number 150. You always do these in the hundreds okay or the power of tens so that you can move them around easily and I can say all traffic that comes from this IP address. I'm going to put the forward slashzero that just means a single IP address. I say deny, right? And so now uh this at my address, I can't access that EC2 instance. Okay? If I try to go, there's nothing running on the server, but if I was to try to use it, I wouldn't be able to do it. And and this applies to anything for that subnet. It's not for a particular instance. It's for anything in that subnet. So hopefully that is is pretty clear there. Um but that's pretty much all you really need to know. I mean, there's lots of other stuff like network firewalls, all these other things. It gets pretty complicated. Um it's well beyond what we need to learn here. But uh what we'll do is tear down that EC2 instance. Okay, we'll terminate that. And once that instance is destroyed, we can get rid of our security group and a bunch of other stuff. And there's always a bunch of these darn things. So we'll say delete one security group associated. So we go here. This is the one we are using but I want to get rid of all these other ones. Okay. If I go here it could be because like of inbound rules. So see this one because you can reference another security group within a security group. So I'm just going to go save that there. see any my IP there. Whoops. It's set to NS NFS. So, that might have been set up for our access point. Or I could just delete it. That' probably be easier. Okay. So, that's one that's kind of of a pain. So, I'm just looking for rules that might be referencing other security groups to get rid of them. Okay, let's try this again. We'll go ahead and delete. I'm leaving the um I'm leaving the uh the defaults alone because those come with your VPCs and you don't want to get rid of those. So, it won't let me delete this one. So, I'm going to go edit that rule. Delete it. Save it. You might not have this kind of cleanup to do. It just might be me here, you know. Um, outbound, inbound. Let's try this again here. Delete. And I'll open this one up. Must be this one that is referencing the other one. I'm just going to delete the rule. And this is something that's just kind of frustrating with AWS, but it's just how it is where sometimes it's hard to get rid of uh resources because you have to click through stuff. So, it's not always a clean you might have like lingering resources. And this isn't going to cost us anything, but it's just the fact that um that it just makes things harder to see what you're doing, you know? This last one really doesn't want to go away. So, I'm just trying to delete all the rules out of here. Get rid of it. Can I delete this one now? One group associated. It will not show me what it's talking about. Okay, here it is. Um, okay. This is referencing it. I think it was the one. It was an old one. I don't know what this is. We'll go down here and we'll go here and delete that. And while I've been cleaning all these up, now we can go over to our inst instance. make sure that it's terminated. It is good because if our instance is not terminated, we cannot destroy the VPC. Uh prior the VPC could not be destroyed unless you detach the internet gateway. I wonder if it's going to still complain about that. We'll say yes. It actually looks like it includes it in the cleanup. Type delete here. There we go. So, we're all good. We're all cleaned up. There you are. Hey, this is Andy Brown from Exam Pro and in this video I just want to show you CloudFront. So, let's make our way over to CloudFront. And CloudFront is a content delivery network and it's used to cache your data all over the place. As you can see, I have some older ones here. If you have a splash screen, what you can do is just look for the lefth hand side. There might be a hamburger menu. Open that up and then click on distributions. And what we're going to do is create a new distribution. If you don't want to create one, because these do take forever to create, um you can just kind of watch along. I don't even feel like I'm going to hit the um the create distribution button because I just hate waiting for so long. But the idea is that you have to choose an origin. And so the origin could be something like an S3 bucket, a load balancer, media store. This is where um the the content distribution network is going to source its content, right? So if I say this bucket here um and I just it'll probably default to the root path. The idea is that it's going to be able to pull content from there and then cache it everywhere. And then down below you can say, okay, set the type of protocol, redirect to here. You can set up uh caching rules or like how often do you want it to cache, like cache a lot, don't cache a lot. But the great thing is like you have these edge or these um lambda edge functions. So you can uh read and modify the request and response to the CDN which is very powerful. But what I'm going to do is I'm just going to go look at what we already have because again I said they take forever to spin up and we're not going to see too much if we do. So once it's spun up, um this is what it looks like. So you'll have an origin. It says where it's pointing to. You can create multiple origins, group them. Uh you can modify your behavior. So that was basically what we were looking at before. As you can see, we have our behavior there. Nothing super exciting. We can set up error pages. You can restrict based on geographical location. So if you're for whatever reason if you if you're not allowed to serve content in UK, you could say exclude this geographical region, right? So you have an allow list or a block list saying like okay, we can't do UK because like let's say you just don't want to do um say England. You don't want to do um uh GDPR for whatever reason. You could block out I don't know why I'm having a hard time here. Britain, England. It's England, right? United Kingdom. There we go. So you just say, okay, forget United Kingdom. I don't have to do GDPR now for invalidations. The idea is that you know it is a cache. So things can get stale or just persist. And so here you can just type in say I want to get rid of image.jpg and then you create that invalidation and then it will go delete it out of the cache. And so the next time someone requests it'll get the the fresh content. This usually doesn't take that long. But that's pretty much CloudFront in a nutshell. Okay. Hey, this is Andrew Brown from Exam Pro and we are taking a look at EC2, also known as Elastic Compute Cloud. And so this is a highly uh configurable virtual server or it's also known as a virtual machine and that's what we're going to generally refer to it. Uh EC2 is resizable compute capacity. It takes minutes to launch new instances and anything and everything on Adabus uses EC2 instances underneath. That's why we generally call it the backbone to all the Adabus services. And uh you're going to just have to choose a few options here. So the first thing you'll need to do is choose your OS via your Amazon machine image. So that's where you get Red Hat, Ubuntu, Windows, Amazon Linux, Seuss. It might also come with pre-installed libraries and things like that. Then you choose your instance type. That's going to determine things like your vCPUs, your memory. So here you can see how many there are and you'll have like a monthly cost and that's the name of the instance type. Then you have to add storage. So very commonly you're attaching elastic block storage or elastic files system or service. Uh and so you know if you do choose your EBS uh you are going to have to determine what type it is. So whether it's a solid state drive, a hard disk drive, a virtual magnetic tape or even attaching multiple volumes not just a single one. And the last thing is configuring your instance. So this is configuring the security groups, the key pairs, user data, IM roles, placement groups, all sorts of things. So we will experience in that because we will show you how to launch an EC2 instance and it'll make a lot of sense if it does not make sense right now. Okay. All right. Let's take a look here at EC2 instance families. So what are instance families? Well, instance families are different combinations of CPU, memory, storage, and networking capacity. And instance families allow you to choose the appropriate combination of capacity to meet your application's unique requirements. Different instance families are different because of the varying hardware used to give them their unique properties. And we do talk about this thing about uh capacity reservation where adabus can actually run out of a particular type of instance family because they just don't have enough hardware in that data center and so you have to reserve it. But let's go through the different types of instance families. The first is general purpose and these are the names of the different families. uh very popular ones is the T2 um the T2 and one that's really interesting is the Mac which actually allows you to run um a a Mac server. So these are great balance of compute, memory and network resources. So you're going to be using these most of the time. The use cases here would be web servers, code repositories, things like that. Then you have compute optimize. So um they all start with C. Uh no surprise there. They're ideal for computebound applications that benefit from high performance processor. The edge cases here are scientific modeling, dedicated gaming servers, ad server engines, things like that. Then you have memory optimized. Um, and so there's a variety here. These are fast performance for workloads that process large data sets in memory. Um, they're great for in-memory caches, in-memory databases, real-time big data analytics. Then you have accelerated optimize. So this is your P2, P3, P4, things like that. These are hardware accelerators or co-processors. These are great for machine learning, computational finance, seismic analysis, speech recognition. If you're doing um uh ML on AWS, you you'll start coming across these types. AWS technically has a separate page on SageMaker ML machines, but they're all pulling from these instance families. Okay. Then you have storage optimize. So I3, i3n things like that. These are highly high sequential read and write access to very large data sets on local storage. The use cases here would be NoSQL in memory or transactional databases. data warehousing for the certified cloud practitioner, you just need to generally know these five categories, not the names of the instance families. If you're doing um associates or above, you definitely want to know these things in a bit more detail. And I want to say that commonly instance families are called instance types. But an instance type is a combination of size and family. But even AWS's documentation doesn't make this family distinction clear. But I know this because, you know, in Azure, they make that very clear and and GCP. And so I'm bring that language over here to just kind of normalize it for you. Okay, let's take a look at what EC2 instance types are. So an instance type is a particular instance size and instance family. And a common pattern for instance sizes you'll see is things like nano, micro, small, uh, medium, large, x large, 2x large, 4x large, 8x large. And you know, generally they're you to the power of twos, but sometimes it'll be like 12, 14, 16, or it's even. Uh, and so when you go to launch your EC2 instance, you're going to have to choose that instance type. And so here you can see, you know, here is our T2 micro, and then we have um the small, the medium, the large, the Xarge. Okay, but there are exceptions to this pattern for sizes. So, you know, there is one particular one called metal. And so that's going to indicate that this is a bare metal machine. And then sometimes you get these oddball ones like 9x large. So you know the rule of power of two or even numbers is not always the case. Uh but generally it'll be pretty even for you know the start here. Okay. Uh just talking about instance sizes. So the EC2 instance sizes generally double in price and attribute. So uh just bringing up these numbers a little bit closer. Starting at the small here you're going to notice one two doesn't maybe double there but four and here we see 12 24 uh almost doubles there. almost doubles there. But I want to show you that the price is generally almost double. So 16, 33, 67, 135. And so a lot of times like you always have the option to say, okay, do I want to go to the next instance size up or have uh an additional instance of the same size. And sometimes it's a better approach to get an additional instance because then you can distribute it across another A uh but then you also meet additional capacity. So there you go. So we talked about dedicated instances and hosts a little bit but let's just make that distinction very clear. So dedicated hosts are single tenant EC2 instances designed to let you bring your own license. So B YOL based on machine characteristics and so we'll compare the dedicated instance to the dedicated host across isolation billing uh physical characteristics visibility affinity between a host and instance targeted instance placement automatic instance placement and add capacity using allocation request. So for isolation for dedicated instance you're going to get instance isolation. So you can have the same customer on the same physical machine but there is virtualization there for them and there's a guarantee of that. Um for a dedicated host you have physical server isolation so you get the whole server. For billing uh on a dedicated instance it's per instance billing and it's going to have an additional fee of $2 per region. And for dedicated host it's per host billing. So it's a lot more expensive but you get the whole machine. Uh for visibility of physical characteristics you're not going to get any of that information for a dedicated instance. for a dedicated host you are such as sockets core host host ID and this is really important when you have a bring your own license and they're saying this license is for x amount of cores or x amount of sockets uh then we have affinity so there's no affinity for dedicated instance for dedicated hosts you'll have consistency with deploys to the same instance to the same physical server uh there's no control of target in instance placement for dedicated instance you do have control on a dedicated host for auto automatic instance placements you have it for both and to add capacity using allocation requests it's a no for dedicated instance and it's a yes for dedicated host so I want to come back to the main point that's what's highlighted here is that on a dedicated host you have visibility of sockets core host ID and this is really really important when you're bringing your own licensed BYOL such as um you know Microsoft SQL servers where you have to specify the amount of cores and things like that Okay, so we've been talking about uh tenency and I just wanted to make it very clear uh the difference between the different levels of tenency on AWS. So we have three. Okay. So we got dedicated host. So your server lives here and you have control of the physical attribute. So basically the whole server. Okay. Uh then we have dedicated instances. So your server is on the same uh physical machine as other customers but the actual slot that you have the dedicated instance will always be the same. Uh and then we have uh the default. So your instance will live somewhere on the server. Uh and when you reboot it's going to be somewhere else. So there's no guarantee that it's going to be in the same place every single time. Okay. Hey, this is Andrew Brown from Exam Pro and this follow along we're going to be looking at EC2 and also um services that are adjacent to it. So like autoscaling groups, load balancers, elastic IPs, things like that. So we fully understand EC2. Um, you don't have to know tons for the exam, but you should be able to go through the motions of this with me so that you can cement that knowledge um, for some of those deeper concepts like working with key pairs and things like that. So, let's make our way over to the EC2 console and learn what we can learn. Um, and generally when you go over to the EC2 console, it'll bring you to the dashboard. For whatever reason, it didn't bring me there. And then the idea here is that on the lefth hand side, we can make our way over to instances. Okay. And this is where we can launch our first instance. So if we go here and launch our instance, the first thing we're going to be presented with is to choose our MI or Amazon machine image. And so that is a template that contains the software configuration. So the operating system, applications, and other binaries that would be installed on that OS by default. All right. And so we have a variety that we can choose from in the quick starts. And generally the ones that you're going to see first are the ones that support. So there are uh um AMIs or operating systems that a will support when you contact them and then there's ones that are outside that where uh they'll still help you with but they might not have the knowledge on. So just understand that if you pick from these core ones you're going to be in good shape. Uh the most popular is the Amazon Linux 2 because it's part of the free tier and it is is very minimal and well hardened by AWS. So it's a very good choice there. But you can see you can install a bunch of things. So like if you want to launch a Mac OS server you can absolutely do that. a Red Hat, uh, Suzie, Ubuntu, a Windows server, you name it, they have it. Um, if you wanted something more farther out there, you could go to the marketplace and, uh, subscribe to one that is managed by company. Basically, everything exists under the sun here. Or you could get a community AMI. So, these are ones that are contributed by the community for free. But, we're going to go back to quick start here. And what I want you to notice is that there is this AMI ID. That's how we can uniquely identify what we're using. If we were to change region, even with the same Amazon Linux 2 instance, this thing will change. So just understand that it is regional based and it comes in a 64-bit variant and a ARM variant. And so we're going to be using the x86 here. You can notice here you can change it on the right hand side. We're going to stick with x86. I'm going to go ahead and hit next. So now we're going to choose our instance type. And so this is going to decide um uh greatly how much we're going to be spending because the larger it is, the more we're going to spend. So see this T2 micro. If we wanted to know the pricing for that, we go to EC2 pricing AWS. And once we get to EC2 pricing, we want to go to on demand. And from here, this will load. And so down below, we can kind of go find our price. So it should show us should show us the list. Ah, here it is. Okay. So I can say AT2 micro. And we can see the on demand is this. So, it seems really cheap. What you got to do is do the math. So, if you do time 7:30, that's how many hours there are in a month. If we launch a TT Micro and let's say we didn't have the free tier, we you do if you first made your account, you're going to have 7 750 hours for free with the free tier. But if you didn't, it would only cost you $8 and 46 USD. Okay? So, just be aware of that. And if you ever need to figure something out, go there, copy it, do the math, 7:30. It's pretty easy. So here we have a T2 micro in the T2 family. It's going to have one V vCPU. Notice it has a V for virtual. So there could be more than a single CPU on the underlying hardware, but we're only going to have access to one virtual CPU. We have one gigabyte of memory. It's for low to moderate network performance. So that's a factor that can change if you need like uh uh gigabit stuff like really fast connections for onrem hybrid connections and you have specialized servers for that. But for this, this is fine. The TT Micro is great. Uh if you want, you can also search uh this way to see all the instance families and things like that. You can filter for current generations, all generations. So this is fine. Okay. So from there, we're going to go to configure our instance type. You can say let's launch multiples of these instances. Let's turn on spot to uh save money and try to bid for a particular price. We can change our VPC. It's going to default to the default VPC. Um if you have no subnets just going to pick one at random here which is fine. Um whether to auto assign a public IP address. If you do not have an IP address you cannot reach the internet. So generally you want this to be enabled. This is dependent on the subnet whether it will default to enabled. But doesn't matter if you have an EC2 instance in a private or public subnet. You can always override this and give it a public IP address. You have placement groups which allows you to place servers together closely. Not something for the certified cloud practitioner. There's capacity reservations. So if you're worried about adabus running out of this, you can reserve capacity. So that's kind of interesting. Domain join directory. This isn't something that I've done much with, but I imagine that has something to do with um direct active directory or something like that to join information. Then you need to uh have an IM role. And we absolutely do need an IM role here. So what I want you to do is create a new RO. Just going to close off these other tabs here. And we will go Wait a moment. create a new role here. And we want to do this for EC2. So, we say EC2 is what we're creating the rule for. We'll hit next. And um I don't know if I have a policy, but I'm going to go ahead and um well, I don't need to make a new policy, but I just want SSM. And the reason I want SSM is so that I can um uh use sessions manager to login. So, we don't have to use key pairs. We will use key pairs, but if we didn't want to use it, that's what we could do. And this used to be the old role. It'll tell you, hey, go use this new one here. So, I just want to make sure I know which one it is. And so, we'll just check box that on. We'll hit next. We can add tags right here. It' be uh well, actually, we don't need to add any tags here. So, that's fine. We'll just hit next. And then I'll just say uh my SSM EC2 RO. Okay. And we'll create that RO. And now that we have created that RO, we can go back to our first tab here and give this a refresh and then drop down and it should show up here. If we go down here a little bit, we could turn on extra monitoring. There is monitoring built in, but if you wanted to uh monitor it to a lower uh like it more frequently, you could do that as well. We want share tenency, right? This is where you change to dedicated instance or dedicated host. Obviously, these cost more, but we're going to stick with shared. Elastic inference. So, this is for um uh attaching a a fractional GPU. Great for ML. Not something that we want. There's credit specification. I don't remember seeing this before. Selecting unlimited for credit specification allows for to burst beyond the baseline. So this for bursting here you can attach an EFS. So if you need a file system that you want to mount or attach. Um then there's the enclave option. So Nitro Enclave enables you to create isolated compute environments to further protect your uh and securely process highly sensitive data. So it might be something you might want to check box on um based on your use case. And then down below are we have the ability to enter our user data. And this is something we want to do because we want to install Apache so that we have something to work with here. So what I'm going to do is make a shebang. So that is a pound and an exclamation mark. I know that's really small. So I'll try to bump up my font here so you can see what I'm doing. And we're going to do a forward slashbin and a forward slashbash. On the next line here, we're going to do yum install- y httpd. Um that's going to install apachi. And why it's not called apachi, I don't know why, but they call it httpd. There's no Apache in the name there. And so we'll say systemctl start httpd systemct ctl enable httpd. So we're saying start up apachi and then make sure that it stays running if we restart our machine. Very simple. So from there we will go to our storage. We'll say add our storage. And this is at 8 gigabytes by default. We could uh uh turn that up to 30 if we like. So you can go all the way up to 30 if you like. Um, and you might want to do that, but I'm going to leave it at eight. We could change our volume type. I'm fine with GP2 because it's very cost effective. And if we want to turn on encryption, and you should always turn on encryption. There's no reason not to. So, we'll turn that on. It's not like it's going to cost you more. It's going to be the same cost. It's just your choice there. If do we want to add a tag? Yes, we're going to add a name. And we're going to say my EC2 instance. Okay. And so, that's going to give us a name, which is something we would really like to have. Then, we have our security group. I'm going to just create a new security group called my EC2SG here and just say my EC2 SG. Something you cannot do is rename a security group once you've made it. So make sure you don't make a spelling mistake up here. And we want to be uh accessing that HTT htt. So in order to do that we need to make sure we have HTTP as a type with the port 80 open. And we want it from anywhere. So we'll say anywhere and that will be 0.0.0.0/z and that's for the IPv4. This is for the IPv6. Okay. So we'll just say internet and this is for SSH, right? And for this um I would probably suggest to say my IP, but since we might be using a cloud shell to do that, we're going to leave it as anywhere so that we don't have any issues connecting. So from here we'll review and launch and you can review what it is that's going on here. It's going to say here, hey, you have an open port. That's okay. We we want the internet to see our website because that's the whole point there. And we'll go ahead and launch it. It's going to ask for a key pair. We can go down and say proceed without key pair. But what I'm going to do is I'm going to create a new key pair because I want to show you how those work. And I'm sure we've already done in this course once, but we'll do it again. And so I'm going to just name this as my EC2 instance here. And then we're going to go download that key pair. It's going to download a PM file there. And so now we can go ahead and launch that instance. And while that is launching, so I'm going to just close this other tab here. We're going to click on the view instances. And so here is that instance. That's why we put the tag so we could have a name there. We're going to wait for that to start. But as that's going, I'm going to make a new tab by just right clicking here on the logo. Click anywhere pretty much to do that. And uh once we do that, we'll click on cloud shell. And as that is going, what I want to do is take this PM down below. I'm going to move it to my desktop to make it easier for me to upload. I'm doing this offscreen. Okay. And uh once this environment is running, I'm going to go ahead and upload that. Okay. So, we'll just give it a moment to do that. We're also waiting for the server to spin up. As you'll notice, there is a public IP address here. It says it's running. So, if we want, we can copy it. We're looking for those two checks to pass. So the server could be available, but generally you want to wait for those two system checks because one says, "Hey, the hardware is fine, the network's fine, things like that." Okay, but if I take that IP address, paste it on up here, we have the web page, so that is working. Uh, no problem there. So that's great. And we'll go over to CloudShell, and that is still starting. Uh, it's not the fastest, but that's just how it is. and um you know we'll get going here in a second as soon as this decides to load. There we go. So it's loaded. I can type clear here just to clear that screen out. And so what I want to do is upload that PM file. So I'm going to go and upload that file. We're going to go ahead and select it. I'm going to go to my desktop here. Whoops, my desktop. And we are going to choose my EC2 instance PM. All right. And from there we'll hit upload. That's going to upload that PM file. Once that is uploaded, we're going to do ls. Okay. And so, uh, this is from a previous tutorial, so I'm going to go ahead and just delete that other one there. We'll say remove EFS example PM. Yes. Okay. We'll type clear. And then what we can do here is type in chimod. And um, I believe it's 400. And what did we call this? My EC2 instance pam. If you hit tab, it will autocomplete, which is nice. And if you do ls-la, we can take a look at that file and see it should look like this. It should have only one R here. So the idea is you're locking it down. So it's not writable or executable. It's just readable because that's what you have to have it if you want to SSH. And so if we want to SSH, what we'll do is hit the connect button here. And we have four options. They just give you too many options. There's going to be a fifth one for sure soon. But right now we're talking about SSH. So for SSH um we had to chim our file which we did and then we need to use this DNS to connect to it. And so this is the full line here. If you click on this, copy that over and paste it in. That should be everything. And notice we're doing EC2 user followed by this. You could put the IP address in here instead if you preferred. So if you were over here, you could go and take that IP address, which is I think shorter, nicer, but um you know, if you just click that one button, it works. That's fine. You always have to accept the uh the fingerprint. Then you'll be inside the instance. You can type who am I to see which user you are. You're the EC2 user and that's the user that AWS creates for their Amazon Linux instances. Um it's going to vary per um AMI. So not all AMIs have an EC2 user. It might be something else, but that's generally the ones that ads uses for their supported ones. And so if we do um an LS, again, we're in the server right now. We can tell because it says right here. where if we do a pwd we can kind of just kind of look around. So I think it's going to be at var www. That's where httpd or apachi always uh puts their files here. So if I go in here whoops I'm just looking for um the index file. So I thought the index file was in cdvar www h h h h h h h h h h h h h h h h h h h h h h h h h h h h h h h h h h h h h h h h h. Well, where the heck is it? So, I'm going to just touch a file here and see if it overrides it. Oh, I don't care. I'll just type pseudo. And what we can do is just try to restart this system ctl. Um, there's a very similar command that's like uh service. And so, I always forget the order of it. So, I think it'd be I'm just checking um probably uh restart httpd. And so, failed to restart. The policy was not provided as the name service. Um service uh maybe pseudo. There we go. And so if we go back here, I'm going to see if it changed because it will take whatever is in the index html file. So if there's no file there, it's going to uh show that there. And so what I can do is I can edit this file. going to type vi index html and um I'm going to hit I for insert mode. Oh, it says it's read only. So what we have to do q colon q quit oops uh clear ls and so what we need to do is do pseudo vi index html and so vim every single key is a hotkey. Okay. Um and I'm not teaching vim here but I'm going to teach you the basics. The idea is that when you're here, notice that the cursor is blinking. When I hit I, it enters insert mode. Now I can type normally. So I'd say hello uh hello cloud. Okay. And I'm going to hit escape to go back to um navigation mode, whatever you want to call it. I'm going to hit colon so it brings up the command. I'm going to type in uh write and quit. Okay. And hit enter. And so I'll type clear. And so whoops, clear. And so we'll hit up till we get that command. Pseudo systemctl restart HBD. We'll hit that. Hit enter. Okay. And it should restart pretty fast. There it is. It says hello cloud. I probably didn't even have to restart it to do that. But anyway, so now that instance, uh, you can see how we're updating that. So, what I want to do is just do a sanity check and make sure that if we restart this instance that we're going to be able to um have Apachi running. That's something you should always do if you have an app and you or anything and you install it, restart your server, make sure that everything works. So, what I'm going to do is uh just hit exit here. So, we go back to the top level cloud shell, type clear. I'm going to go back over to my EC2 instance. You might have to click around to find it here. And what I want to do is reboot it. Okay. And if I reboot the machine, the IP address is going to stay the same. Okay, so if I reboot it, the IP address is going to stay the same. And the reboot's going to happen really fast. If we want to observe that reboot, we could go over to um here on the right hand side, go to the system log, and it would show us that it it had rebooted, I think. So, yeah, it does cloud in it there. I think it rebooted. Not sure. Um but anyway, if it's rebooted, then we can go ahead and connect and make sure everything's fine. So, let's just go here and hit enter. And let's see if the what the web page is here. Notice that it's hanging, right? So, it's probably because it's still restarting even though it doesn't look like it is. And that's something that you have to understand about the cloud is that you have to think about what you're doing and have confidence that it is happening and also just double check it. But, uh that's something that can be kind of frustrating because these are globally available services. uh uh they're massively scalable and so one of the trade-offs is that you don't always have the most uh responsive uh UIs. Adabus has one of the most responsive UIs out of all the major providers, but even still like sometimes I have to second guess myself. But the page uh right now is not working. Now it is. So it's fine. So it just took time for that to reboot. And so um what I want to do is connect a different way. So we're going to go here and we're going to hit um we're going to checkbox that on. We're going to hit connect. And instead of using SSH client, we're just going to go to sessions manager and hit connect. And this is the preferred way of connecting because you don't have to have this this SSH key. And that's a lot more secure because if someone has that key and you you know you hand it to someone, they could hand it to somebody else and then you have a big problem on your hands. So here, this looks very similar, but if you type who am I, it actually logs in as the SSM user, which is kind of annoying. So I type in a pseudo su. I have to do this hyphen here. And then I'm going to say the user I want to be, which is EC2 user. And then if I type who am I, we are the correct user. You can't do anything in that SSM hyphen user or or SSM user. So you got to switch that over. And I can bump this up to make it a bit larger. So this is obviously not as nice as working over here or even in your own terminal, but it's a lot more secure and it's tracked and all these other things. So we really should be using it. Okay. And um I really don't like having to bump this up with my HTML. I'm going just go back to zero there. There's probably like a way to configure that. But anyway, uh let's just go and take a look at our file. I'm gonna type vi again and we're gonna do var www html index html. I'm going to put pseudo in front of there. And again, remember you have to hit I to go into insert mode. And uh what I'm going to do is just take capitalize that hello cloud. Give that exclamation mark. Colon WQ to quit. Right quit. Going to go back here. Refresh. Okay. Okay, so we don't have to restart our server, which is nice. All right, so um that's that that's pretty clear. So I'll hit terminate here. And I don't think we need cloud shell for anything. So I'm just going to close that. And so that's pretty much it when it when it comes to working with an an EC2 instance. And so the next thing I want to show you is elastic IP. Okay. Okay. Okay. So now I want to show you elastic IP uh commonly abbreviated to EIP. And so all that is it's just a um a static IP and IP that does not change because this EC2 instance here notice that it's 54 1634104. And what would happen if we were to stop this instance not reboot it but stop it because for whatever reason we had to or or um for whatever reason. And if we were to stop this instance and we were to restart it. Okay. Uh and we have to wait for it to stop. But that IP address is going to change. Okay. So 54 1634104. Hopefully we can observe that. I'm just going to write that down so we do not forget so I can prove to you that it does change. And now that it it's still stopping here. So, as that's stopping, we're just going to go ahead and get our elastic IP. And we'll prove that as we go here. So, I'm going to go over to here. And so, what I want to do is reserve or allocate an elastic IP address. And so, I'm going to say US East1. And it's going to say from the Amazon pool of IPv4 addresses. So, Adabus has a bunch of IP addresses they're holding on to. And so, you can just allocate one. And once you've allocated, that's your IP address. So coming back to here. Okay, this is stopped. Notice there is no public IP address. We're going to start it again. Okay. And then we'll just checkbox it on. And we just have to wait a little while to see what the IP address is going to be. I'm going to tell you it's going to be something else. So if I go back here, this is 542351210. And our original one was 541634104. So the reason why it's important to have the same address is that if uh you have a load balancer, well not a load balancer, but if you have a domain pointing to your I uh your server and you reboot, then the route you have a dang a dangling um path or route where uh Revity 3 was just going to be pointing to nothing. And so it does have things to mitigate that like aliases and things like that. But um in general, you know, there's cases where you just have to have a static IP address. And so we had allocated one over here. And if we want to assign it, we're going to associate that elastic IP address. We're going to drop it down. Choose a CC2 instance. Um I suppose the private IP as well. And then we're going to go ahead and hit allocate or associate. And once it's associated, it should now have 341 1991 12116. So, we go over here and we're going to take a look here. And that's its IP address. We can pull it up. Okay. And that's that. So, yeah, that's elastic IP. Okay. So, now that we um have our elastic IP, we have our EC2 instance running. Let's say um you know, we lose the server, we terminate it. So, we would lose all of our configuration. And so if we wanted to bake this AMI to save it for later, what we'd have to do is go and create an image. So to do that, we go to the top here and we go to images and templates and we can create an image or we can create a a a template, which is a lot better. But for the time being, we're just go ahead and create an image. And when you create an image, you're basically creating an AMI. And so here I'm just going to say my EC2 and I'm going to go 00 to just kind of like number it. So that's a very common numbering. Just do three zeros and then increment by one. And so here I can just say my Apache server. And so it's going to save some settings like the fact that there is a a volume. You could uh save some tags there. And so I might go ahead and add a tag and just say name. And we'll just say my EC2 server or so that it remembers that. Okay. And then what we'll do is go ahead and create our image. And so this can take a little bit of time. If we go over to uh images here, it's going to be spinning for a while and uh we'll just wait until it's done. Okay. All right. So, after waiting a little while here, our AMI is ready. So, we're just waiting for it to go available. If you do not see it, just make sure you hit the refresh. Um because sometimes ADS will just spin forever. Um and so that's just something you'll have to do. So, you know, hopefully that makes sense. What we'll do is go make our way back over to instances here and we can launch one this way. Well, actually, we can do it over from um the AMI page. So, what I'm going to do is just terminate this instance. We're all done with it. Okay. And we'll hit terminate. It's totally fine. And it had a message about elastic IPs about releasing them. So, when it does that, the elastic IP is still over here. So, it did not release it. So, what we're going to do is go ahead and disassociate the elastic IP. Okay. And then we're also going to release the IP address because if we don't, we're going to have this IP address that's sticking around that we're not using. It is going to charge us a dollar month over month. So just be aware of those because that's just kind of like a hidden cost there. But what we're going to do is go over to AMI and we're going to select it here. We're going to go to actions. We're going to go ahead and launch. And what it's going to do is make us fill out all this other stuff again. So if you had made a launch template, uh we wouldn't have to fill out all this stuff. It'd be part of it. But that's what I'm trying to show you with this AMI stuff. So, um, instead of filling out all this, what I'm going to do is now go create a launch template just to kind of show you that that would be a much easier way to work. So, we go over to EC2 instances and then on the left hand side, we're looking for a launch template. Launch launch configurations is the old thing. Um, launch templates. Here we go. So, what we'll do is create ourselves a launch template. We'll just say my Apache server. And then down below, we need to choose our AMI. So, we're going to go here and we need to type it in. So, what did we call it? My EC2. I really don't like this uh search here. It's very slow and frustrating. But once we find it, Whoops. That's why I don't like it because a lot of times it'll be loading and you'll end up clicking the wrong thing. Okay. So, I don't like this. Okay. We'll type in my Give it a second. There it is. Just wait because it will keep loading. And then once it's loaded, hit enter. And so it has that instance selected. And then from there, uh, don't include it in the launch template. So here we could be explicit. I would say I want this to be T2 T2 micro, but we could exclude it if we wanted to. We could specify the key pair here. Um, not that we really want to use key pairs. We'll say my EC2 instance. Then down down down here for the networking we can specify uh that security group we created. So we created one here called my EC2SG. Um storage is fine. It's going to be encrypted. Network interface is fine. Advanced details. What I want to do is set the IM instance profile. That's really important because we don't want to have to figure out that role every single time. So we'll put that there. And that should be everything. And we could put user data in there but it's already baked into our AMI. So we don't have to worry about anything. So, what I'm going to do here is go ahead and create this launch template. And then we're going to view this launch template. And so, now what we can do is then use it to launch an instance. Okay. And so, we're going to look here, and it's very similar to DC2, but except it's vertical. So, we're going to have one instance. It's going to use that AMI, that instance type. So, you can see how you can override them, which is nice. We're going to check the advanced details. Make sure that IM profile is set. And we'll go ahead and launch this from a template. So from there, we can go ahead and click the instance value there. And just be aware that when you do click through links like that, you'll end up with a search. So I was just checkbox that off so I can see what I'm doing. And so we're just waiting for this instance to show up. And the only thing I notic is it didn't set our darn tags. So I wanted the name in there, and I think it's because we set it in the AMI, but it didn't carry over to the launch template. So I'd have to go back to the launch template and update it probably. Okay. So, if I go into here into the launch template, um, we can probably modify create a new version and then add tags there. So, we say name uh my uh Apache server. I realize I'm changing it between them. And so, that should allow us to have a version two. So, we'll create that. And but anyway, that will be for the next time we launch it. Okay. And so this instance is running. I'm going to go grab the IP address. The server may or may not be ready. We'll take a look here. And so it's just spinning. If it's spinning, it's either the server is not ready or um our port's not open. So it was just getting ready to work there. So it is working now. So that is our launch template. So now you know we don't have to worry about losing our stuff. And if we need to make new versions, we can just bake new AMIs and increment them as uh inc and attach them as new versions in the launch template. Okay. All right. So what I want to show you in this follow along is to set up an autoscaling group for our EC2 instance. And the idea behind this is that um we'll be able to always ensure that a single server is running or uh increase the capacity if the demand requires it. So, in order to create an autoscaling group, we can go all the way down below to here. Um, and so, you know, I really don't like the autoscaling group form, but it's okay. We'll work our way through it. So, the first thing is we'll have to create our or name our autoscaling group. So, we'll just say my ASG. And then we'll have to select a launch template, which is great because we already have one. And then we'll have to select the version. I'm going to select version two so that it applies that tag name. And we'll go to next. And so here um it's going to need to select a VPC and then we need some subnets. So we're going to choose three just because to have high availability you have to be running in at least three different availability zones. So that's why we have three different subnets. And then down below we have the instance type requirements. So uh T2 micro launch template looks good to me. So we'll go ahead and hit next. And then from here we can choose to do a load balancer. And so I want to do the load balancer separate. So we won't do it as of yet, but very often if you're going to have an autoscaling group, you're going to usually have a load balancer, but we'll talk about that when we get to that point there. So we'll just go to the bottom here and hit next. And so this is what's important. So how many do you want to be always running? And so we always want to have one. And maybe the maximum capacity is two. And you want the desired cast capacity be to be around a particular number. So if you had three and you said the desired is two, there are things that could try to work to always make sure there's two, but we just want to have one for this example. We can set up a scaling policy. So I do target tracking scaling policy. And so here we could do it based on a bunch of different things. So if the CPU utilization went over 50%, it would launch another server. So that might be something we might want to set. So I'll we're not going to uh try to trigger the scaling policy, but we might as well just apply because it's not too hard. And then you can also do a scaling uh scalein protection policy. So, if you want to make sure it does not um uh reduce the amount of servers, that's something you could do. We could add a notification to say, hey, there's a scaling policy happening here, which is fine. We don't have to worry about that. Um, and there's tags. So, add tags to help you search, filter, etc. Um, so I'm going to put a tag here. I'm going to say name. I'm just wondering if this is going to attach to the EC2 instance or this is for the autoscaling group. You can optionally choose to add tags to instances by specifying tags in your launch template. So, we already did that. So, I don't need to put a tag here. And so, we can review our um autoscaling group and go ahead and create that autoscaling group. Okay. And so, that autoscaling group expects there to be a single instance. So, what's going to do is it's going to start launching an instance. And so, what I'm going to do is just get rid of this old server because we don't need it anymore. This old one here. Okay. And you can already see, okay, that the load balancer is launching this new one here. And remember, we updated our version two to have that name. So that's how we know that it is. So if we go back over to our autoscaling group, okay, it's now saying there is an instance. We don't have a status as of yet. And so there are ways of doing uh status checks to for it to determine whether or not the server is working. Um because if the server is unhealthy, what it would do is it would actually kill it and then start up a new one, right? So if I go down below, it's right now doing an EC2 health check. And the EC2 health check just means that is the server working right. Um is it running? It doesn't necessarily mean like, hey, can I load this web app? Um but you know, it's very simple. So we'll give it a moment here to start up and just make sure that it's working. Okay. And I think it's ready. Okay. So, if I take that public IP address here and paste it in, there it is. Okay. So, if we were to tell it to increase the capacity to three, then what it would do is it would launch three and then it should probably launch it all evenly to those other it should evenly launch it to all those other uh availability zones and then we'll have something that is highly available. Okay, so that's pretty much it for this and then we'll move on to autoscaling groups. All right. So we have our uh EC2 instance now managed by an autoscaling group. And the great thing is that if we terminate this instance, this autoscaling group will launch another uh instance to meet our particular capacity. Um the only thing though is that if we were to have multiple EC2 instances running like three of them um how would you distribute traffic to them all right? So you know you have an IP address coming in from the internet. Uh but let's say you want to evenly distribute it and that's where a load balancer comes into play and even if you have a single server you should always have a load balancer because it just makes it a lot easier for you to scale when you need to and you it acts as an intermediate layer where you can attach a web application firewall you can attach an SSL certificate for free. So there's a lot of reasons to have a load balancer. So, what we'll do is go down below on the lefth hand side and we're going to make our way over to load balancers and we're going to create ourselves a new load balancer. So, I'm going to hit create load balancer here and you're going to see we have a lot of options. Application load balancer, network load balancer, gateway load balancer, and then the classic load balancer. And so, we are uh running an application. So, I'm going to create an application load balancer. And here I'm going to say my ALB um for an application load balancer. This is going to be internetf facing. It's going to be IPv4. um we're going to let it launch in the default um subnet and we're going to choose the same the same uh uh a right so that we get the same subnets as our that are in our autoscaling group and that's really important. Okay. And then here um you know we need to have a security group and I just feel like selecting the same one here because that should work no problem there. And we want to make sure that we can listen on port 80. And then it's going to forward it to a a um a target group. And it looks like I might have a target group there from before. So just to reduce that confusion, you won't have this problem. I'm just going to double check if that's true. So do I have a target group from there from before? Yes, I do. That came from I'm not sure. It might have been created by um Elastic Beantock and wasn't deleted. Okay. So I'll go back over to here just so there's less confusion and we were selecting our target group. So we're going to have to create a new target group. So we'll go over here and here you can choose whether it's instance IP lambda application load balancer. So you could point it specifically to an IP address. And so if it was a static IP address that would make sense. Uh apparently you can port uh point it directly to instances. I don't remember seeing that option before. I guess that makes sense. Yeah. No, sorry. That makes sense because that would go to uh VPCs, okay? Or sorry, ASGS, autoscaling groups. It's just that you are pointing them to autoscaling groups. You're not pointing them to instances. So that's why that's confusing. So I'm going to say my um target group. It'll be for port 80 here. Um protocol HTTP1 is fine. We want to be in the same u VPC. So that's fine as well. And down below we have our health check. And so the for slash means that it's going to hit the index html page. And so if it gets back um something healthy and that that something healthy is going to be um port 80 then it's going to be considered good. And then we can say the threshold of check. So I'm just going to reduce this so it's not so crazy. So we'll say three uh two and then 10. Okay. And then it expects back a 200 which I think that's what we'll get back. So we'll go ahead and hit next. And so now we have our target group and it should register instances. So it's saying hey we detected this and this fits the requirements for this. So this is now uh this C2 instance is now in this target group. Okay. So we can go back over here and we can now drop down and choose Whoops. Hit the refresh button and choose our target group. So I'm not seeing it here. So I'm going to go back over here. Oh, we didn't create it. Okay. And now we can go back, hit refresh, and there it is. And yeah, that looks all good. So we'll go ahead and hit create load balancer. We can view the load balancers. And these create really fast. If we scroll on up, what we can do is now access our server through this DNS name. Okay, so we copy that, paste that on in there. Does it work? not as of yet. So if it's not working there because we did say look at these instances another way is to directly associate your autoscaling group with the load balancer. So if I go into here and we hit uh edit there is a way aha load balancer. So we want to associate this way and we want to say this target group here. And also while we're here, we might as well set it to ELB. So it's going to use the ELB check. So that makes it so the autoscaling group, if it wants to uh restart server, it's going to use the ELB's check, which is a lot more sophisticated. And then what we'll do is go hit update. Okay. And now if we go back over to our load balancer, I'm just going to close some of these tabs so it's a little less confusing. Load balancer here. I think we should be able to see through here whether it is seeing it. Let's go down below. Listeners, monitoring, integrated services. No, it's going to be through the target group. Okay. I mean, it already had it there. So maybe it's just that it hasn't finished the check. So over here it has a health status check. Oh, now it's healthy. Okay. So, if it's healthy in the target group and the load balancer is pointing to it, then it should technically work. So, we're going to go ahead and uh copy the DNS again here, make a new tab, paste it in, and there it is. Okay, so that's how you're going to access um all your all your instances that are within your autoscaling groups. You're going to always go through the DNS. And so if you had a row 53 uh domain, like you had your domain managed by AWS, you just point to the load balancer and that's how you'd hook it up. So that's pretty much it. So yeah, there you go. All right. So there you go. We learned everything we wanted to know about EC2. So the the last thing to do is to tear everything down. So we have a load balancer. We have an autoscaling group. Um and those are the two things we'll have to pull on down. So the first thing would be to take down the autoscaling group. And when you delete an autoscaling group, it's going to delete all the EC2 instances. So we'll do it that way. If you tried to delete the EC2, it would just keep on spinning out. So you have to delete that first. And so as that's deleting, then we'll be able to delete our load balancer. I'm going to try anyway to see if I can delete it at the same time. And so I'll go up here. I'm going to go ahead and delete that uh load balancer. Actually, it did work. No problem. Going to make sure I don't have any elastic IPs. I'm going to also make sure I don't have any key pairs. You can keep your key pairs around, but like I just want to kind of clean this up. So, okay. Okay. And that instance should be terminating. Got to go back to the autoscan group here. If we click into it, we can check um it's activity here. So, it's just saying successful. So, it is waiting on ELB connection draining, which is kind of annoying because we deleted our ELB, so there's nothing to drain. Um draining is just to make sure that uh you know there's no interruptions when terminating services. So, just trying to be smart about it. And all I want to see is that it's just saying terminating over here and then I think we're done. Okay. So, we'll just have to wait a little while here. Okay. And I'll see you back in a moment. Okay. All right. So, after waiting a very long time, it did destroy. Okay. So, if I go down over to uh my load balancer here, we're going to see that it does not exist. So, there was that connection draining thing, which was kind of annoying. It's probably because I deleted the load balancer first and then the um the uh the autoscaling group second and probably connection draining was turned on, but it's not a big deal. We just waited it and it did eventually delete. So, we're pretty much all done here. So, there you go. Hey, this is Andrew Brown from Exam Pro and we are taking a look at EC2 pricing models and there are five different ways to pay with EC2. Remember EC2 are virtual machines. So we have on demand, spot, uh reserved, dedicated and adus savings plans. So what we'll do is look at these in summary here and then we'll dive deep onto each of these different pricing models. So for on demand you are paying the uh a low cost and also you have a lot of flexibility with this plan. Uh you are paying per hour. So this is a pay as you go model. Uh or you could be paying down to the second which we'll talk about uh the caveats there when we get to the on demand section. This is suitable for workloads that are going to be short-term spiky unpredictable workloads uh that cannot be interrupted and it's great for first-time applications. And the on demand uh pricing model is great when you need the least amount of commitment. For spot pricing you can see we can save up to 90% which is the greatest savings of out of all these models here. Uh the idea here is you're requesting spare computing capacity that Adabus is not using and that's where you're going to get that savings. You have flexible start and end times. Uh but your workloads have to be able to handle interruptions because these servers can be stopped at any time to be given to more priority customers. Uh and this is great for non-critical background jobs. Very common for like scientific computing uh where jobs can be started and stopped at any given time. This has the greatest amount of savings. Then you have reserve or reserved instances. This allows you to save up to 75%. This is great for steady state or predictable usage. You're committing uh with AWS uh for EC2 usage over a period of one or threeyear terms. You can resell un uh unused reserved instances. So you're not totally stuck with this if you buy them. This is great for the best long-term savings. Then you have dedicated. So these are just dedicated servers and technically not a pricing model, but more so that the fact that it can be utilized with pricing models. Um but the idea here is it can be was used with on demand reserved or even spot. This is great when you need to uh have a guarantee of isolate hardware for enterprise requirements and this is going to be the most expensive. Uh so yeah there you go and we'll dive deep here. Okay. So the ondemand pricing model is a pay as you go model where you consume compute and then you pay later. So when you launch an EC2 instance by default you are using that ondemand pricing and on demand has no upfront payment and no long-term commitment. You are charged by the second up to a minimum of 60 seconds. So technically a minute or the hour. So let's just talk about the difference between those uh per second billing and those per hour billing. So per second are for Linux, Windows, Windows with SQL Enterprise, Windows with SQL Standard, Windows with SQL web instances that do not have a separate hourly charge. And then everything else is going to be um per hour. And so, you know, when I'm launching EC2 instance, I can't even tell when something's per second or per hour. You just have to know that it has a separate hourly charge. But generally, you know, if you're just launching things, it's going to probably be the per second billing. when you look up the hourly or the uh the pricing, it's always shown in the hourly rate. So, even if it is using uh per second billing, when you uh look up that pricing, it's always going to show it to you like that. But on your bill, you'll see it down to the second, okay? Up to the first 60 seconds. Uh and on demand is great for workloads that are short-term, spiky, or unpredictable. Uh but when you have a new app development, this is where you want to experiment. And then when you're ready to uh start saving because you know exactly what that workload's going to be over the span of a year or three, that's where we're going to get into reserved instances, which we'll cover next. Hey, this is Andrew Brown from Exam Pro and we are taking a look at reserved instances, also known as RARI. And this is um a bit of a complex topic but uh you know if we do get through it it's going to serve you well through uh multiple adabus certifications. So let's give it a bit of attention here. So RAR is designed for applications that have a steadystate predictable usage or required reserve capacity. So the idea is that you are saying to AWS I'm going to make a guaranteed commitment uh saying this is what I'm going to use and I'm going to get savings because ads knows that you're going to be spending that money. Okay. So the idea here is that the reduced pricing is based on this kind of formula where we have term class offering the RA attributes and payment options. Technically the RA attributes don't exactly factor into it other fact that they an R attribute could be like the instance type size but I'm going to put that in the formula there just because it is an important component. So let's take a look at each of these components of the formula to understand how we're going to save. So the first is the term. So the term uh the idea here is the longer the term the greater the savings. So, you're committing to a one-year or three-year contract uh with AWS. Um, and one thing you need to know is that these do not renew. So, at the end of the year, the idea is that you have to purchase again. And when they do expire, your instances are just going to flip back over to on demand with no interruptions to service. Then you have class offerings. And so, the idea here is the less flexible the offering, the greater the savings. So, the first is standard. And this is up to a 75 reduction in the price compared to on demand. And the idea here is you can modify some RA attributes which we'll we'll talk about when we get to the um RA tribute section there. Then you have convertible so you save up to 54% reduced pricing compared to on demand. And you can exchange uh rais based on the RA tributes if the value is greater or equal in value. And there used to be a third class called schedule but this no longer exists. So if you do come across it, just know that is not planning on offering this uh again for whatever reason. I'm not sure why. Uh then there are the payment options. So the greater upfront, the greater the savings. So here we have all upfront. So full payment is made at the start of the term. Partial upfront. So a portion of the cost must be paid upfront and the remaining hours in the terms are build at a discounted rate. And then there's no upfront. So you are build at a discounted hourly rate for every hour within the term regardless of whether the reservance is being used. And this is really great this last option here because basically you're saying to AWS you're saying like I'm just going to pay my bill as usual but I'm going to just tell you what it's going to be and I'm going to save money. So if you know uh that you're going to be using a T2 medium for the next year. Uh you can do that and you're just going to save money. Okay. So rais can be shared between multiple accounts within an organization and unused rais can be sold in the reserved instance marketplace but we'll talk about the limitations around that when we get a bit deeper in here just to kind of show you what it would look like in adabus console and they updated it. I love this new uh UI here. The idea here is you're going to filter based on your requirements and that's going to show you rais that are available and then you'll just choose the desired quantity. You can see the pricing stuff there. You're going to add it to cart. You're going to check out and that's how you're going to purchase it. Okay. So another factor to that formula were RARI attributes and sometimes the documentation calls them RA attributes sometimes they call them instance attributes but these are limited based on class offering and can be uh can affect the final price of the RA instance and there are four RA attributes. So the first is the instance type. So this could be like an M4 large and this is composed of an instance family. So the M4 and the instance size so large. Okay. Then you have the region. So this is where the reserved instance is purchased. Then you have the tenency whether your instance runs on shared. So the default which uh would be multi-tenant or a single tenant which would be dedicated hardware. And then you have the platform whether you're using Windows or Linux. Even if you're using on demand of course this would just affect your pricing but there are some limitations around here which we'll get into as we dive a bit deeper here with RARI. Okay. All right, let's compare regional and zonal RARI. So when you purchase an RARI, you have to determine the scope uh for it. Okay, so this is not going to affect your price, but it's going to affect the flexibility of the instance. Uh so this is something you have to decide. So we're going to talk about regional RARI, which is when you purchase it for a regional and zonal RAI, when you purchase it for an availability zone. So when you purchase it for a regional RAI, it does not reserve capacity, meaning that there's no guarantee that those servers will be available. So if ads runs out of those servers, uh you're just not going to have them. But when it's zonal, uh you are reserving capacity. So there's a guarantee that those will be there when you need them. Um in terms of uh a flexibility, uh you can use the regional RARI for any A within that region. But for the zonal RAI, you can only use it for that particular region. We're talking about instance flexibility. um you can apply the discount to uh any instance in the family regardless of the size. Uh but then when we're looking at a there is no instance flexibility. Okay? So you're just going to use it for exactly what you defined. You can cue purchases for regional RAI. You cannot cue purchases for zonal RAI. So there you go. Let's talk about some RAI limits here. So there's a limit to the number of reserved instances that you can purchase per month. And so uh the idea here is that you can purchase 20 regional reserved instances per region and then 20 zonal reserved instances per A. So if you have a region that has three A's, you can have uh 60 um zonal reserved instances in that region. Okay, there are some other limitations here. So for regional limits, you cannot exceed the running on demand instance limit by purchasing regional reserved instances. The default for on demand limit is 20. So before purchasing your RARI, ensure on demand limit is equal to or greater than your RARI you intend to purchase. You might even want to open up a service uh limit increase just to make sure you don't hit that wall. For zonal limits, you can exceed your running on demand uh instance limit by purchasing zonal reserved instances. If you're already uh have 20 on demand instances and you purchase 20 zonal reserved instances, you can launch a further 20 on demand instances that match the specification of your zonal reserved instances. So there you go. Let's talk about capacity reservation. So EC2 instances are backed by different kinds of hardware and so there is a finite amount of servers available within an availability zone per instance type of family. Remember an availability zone is just a data center or a collection of data centers and they only have so many servers in there. So if they run out because the demand is too great, you just cannot spin anything up. And so that's what's happening. and you go to launch specific EC2 instance type but AOS is like sorry we don't have any right now and so the solution to that is capacity reservation so it is a service of EC2 that allows you to request uh a reserve of EC2 instance type for a specific region and a so here you would see that you just select the instance type platform a tenency the quantity and then here you might manually do it specify time or you might say okay I can't get exactly what I want but can give me something generally around uh that kind of stuff or that type that I want. So the reserve capacity is charged at the selected instance type on demand rate whether an instance is running in it or not. And you can also use regional reserve instances with your capacity reservations to benefit from billing discounts. So there you go. So there are some key differences between standard and convertible RARI. So let's take a look at it here. So the first is that with standard RAI you can modify your attributes. So you can change the A within the same region. You can change the scope from a zonal RARI to original RARI or vice versa. You can change the instance size uh as long as it's a Linux and it has the default tendency. You can change the network from EC2 classic to VPC and vice versa. But when you're looking convertible, you you don't modify RA attributes. You perform an exchange. Okay? Okay. And so standard RAIS cannot do exchanges where convertible RAI you can uh exchange during the term for another convertible RAI with new RA attributes. And this includes the instance family, instant type, platform, scope and tenency. Um in terms of the marketplace, you c uh they can be bought in standard RAI uh in the marketplace or you can sell your RARI if you uh don't need them anymore. Uh but for convertible RAI, they cannot be sold or bought in the marketplace. you're just dealing with AWS directly. Okay. Hey, this is Andrew Brown from Exam Pro and we are taking a look at the reserved instance marketplace. We had mentioned it prior, so let's give it a little more attention here. So, it allows you to sell your unused standard RARI to recoup your spend for RARI you do not intend or cannot use. So, reserved instances can be sold after they have been active for at least 30 days. And once Adabus has received the upfront payment, you must have a US bank account to sell RARI on the RAR marketplace. There must be at least one month remaining in the term for the RARI you are listing. You will retain the pricing and capacity benefit of your reservation until sold and the transaction is complete. Your company name and address upon request will be shared with the buyer for tax purposes. A seller can set only the upfront price of an RARI. The usage price and other configurations such as instance type, availability zone, platform will remain the same as when the RARI was initially purchased. The term length will be rounded down to the nearest month. For example, a reservation with 9 months and 15 days remaining will appear as 9 months on the RARI market. You can sell up to 20,000 USD in reserved instances per year if you need to sell more RARI. Reserved instances in the GovCloud uh region cannot be sold on the RAR marketplace. So, there you go. Hey, it's Andrew Brown from Exam Pro and we are taking a look at spot instances. So, Adabus has unused compute capacity that they want to maximize the utility of their idle servers. All right, so the idea is just like when a hotel offers booking discounts to fill vacant suites or planes offer discounts to fill vacant seats. All right, so spot instances provide a discount of 90% compared to ondemand pricing. Spot instances can be terminated if the computing capacity is needed by other ondemand customers, but from what I hear, rarely rarely does spot instances ever get terminated. Um, it's designed for applications that have flexible start and end times or applications that are only feasible at very low compute costs. So, you see some options here like load balancing workloads, flexible workloads, big data workloads, things like that. Um there is another service called batch which is for doing batch processing and this is very common what you use um spot with and so you know if you find the spot interface too complicated you're doing batch processing you want to use this service instead um there are some termination conditions so instances can be terminated by adabus at any time if your instance is terminated by ads you don't get charged for a partial uh hour of usage if you terminate an instance you will be still charged for an hour uh that it ran so there you Hey, this is Andrew Brown from Exam Pro and we are taking a look here at dedicated instances. So, dedicated instances is designed to help meet regulatory requirements. Itus also has this concept called dedicated hosts and this is more for when you have strict serverbound licensing that won't support multi-tenency or cloud deployments and we'll definitely distinguish that in this course but just not in this slide in particular. Um and so to understand uh dedicated instances or hosts we need to understand the difference between multi-tenency and single tenency. So multi-tenency you can think of it like everyone living in the same apartment and single tenency you can think of it everyone having their own house. So the idea here is that you have a server I'm just going to get my uh cursor or my pen out here to say server and you have multiple customers running workloads on the same hardware and the idea is that they are separated via virtual isolization. So they're using the same server but it's just software that might be separating them. Okay. And then we have the idea of single tenency. So we have a single customer that has dedicated hardware. So the physical location is what separates customers. Um and the idea here is that dedicated can be offered via ondemand, reserved and spot. So that's why we're talking about dedicated here in the pricing model. Just so you know that, you know, even though these are a lot more expensive than on demand, uh you can still save by using reserve and also spot, which I was very surprised about. Um and when you want to choose dedicated, you're just going to launch your EC2 and you'll have a drop down where you have that shared. So that's the default dedicated. So you have dedicated instance and dedicated host. And again, we'll talk about dedicated host uh later when we need to here. Um and so again the reason why um you know enterprises or large organizations may want to use dedicated instances is because they have a sec uh a security concern or obligation about uh against sharing the same hardware with other adabus customers. Okay. Hey, this is Andrew Brown from Exam Pro and we are taking a look at Adabus savings plans and this is similar to reserved instances but simplifies the purchasing process. So, it's going to look a lot like RARI at the start here, but I'll tell you how it's a bit different. Okay. So, there are three types of saving plans. You have compute savings plan, EC2 instance saving plans, and SageMaker saving plans. Uh, and so you just go ahead and choose that. You can choose two different terms. So, one year, threeear. So, it' be simple as that. And then you choose the following payment options. So, you have all upfront, partial payment, and no upfront. And then you're going to choose that hourly commitment. You're not having to think about standard versus convertible. uh uh regional versus zonal, ribbutes. It's a lot simpler. Uh and let's just talk about the three different saving plans or types in a bit more detail. So you have compute. So compute savings plans provides the most flexibility and helps to reduce your cost by 66%. These plans automatically apply to EC2 instances usage. Fargate, AIS Lambda service usage regardless of the instance family, size, a region, OS or tenency. Then you have EC2 instances. So this provides the lowest prices offering saving up to 72% in exchange for commitment to usage of instance uh individual instance families in a region. So automatically reduce uh your cost on the selected instance family in the region regardless of a size OS tenency. Gives you the flexibility to change your usage between instances with a within a family in that region. And the last is SageMaker. So helps you reduce SageMaker cost by uh up to 64% automatically apply to SageMaker usage regardless of instance family size component ads region. If you don't know what SageMaker is, that's AWS's ML service and it uses EC2 instances or specifically ML EC2 instances. So everything's basically using EC2 here. Um but there you go. All right, let's take a look at the zero trust model. And the zero trust model is a security uh model which operates on the principle of trust no one and verify everything. So what I mean by that is malicious actors being able to bypass conventional access controls demonstrates traditional security measures are no longer sufficient and that's where the zero trust model comes into play. So with the zero trust model identity becomes the primary security perimeter. Uh and so you might be asking what do we mean by primary security perimeter? The primary or new security perimeter defines the first line of defense and its security controls that protect a company's cloud resources and assets. Um, if this still doesn't make sense, we do cover a part of the defense in depth where you see the layers of defense from data all the way to physical. And so you can kind of see, you know, what we're talking about in that model there. But the old way that we used to do things is network ccentric. So we had traditional security focused on firewalls and VPNs since there were few employees or workstations outside the office or they were in a specific remote office. So we treated the network uh the network as kind of like the the boundary. So if you're in in office there's nothing to worry about. But we don't think like that anymore because everything is identitycentric. So this is where we have bring your own device remote workstations which are becoming more common. Uh we can't always trust that the employee is in a secure location. We have uh identity based security controls like MFA providing provisional access based on the level of risk from where when and what a user wants to access and identitycentric does not replace uh but it augments networkcentric security. So it's just an additional layer of consideration for uh security when we're thinking about our adless cloud workloads. Okay. All right. So we just loosely defined what the zero trust model is. So let's talk about how we would do zero trust on AWS. And so zero trust has to do a lot with identity security controls and so let's talk about what is at our disposal on AWS. So on as we have identity and access management IM this is where we create our users or groups or policies. So an IM policy is a set of permissions that allow you to say okay this user is allowed to use uh these services with these particular actions. Uh then you have the concept of permission boundaries. And so these are saying okay um these aren't the permissions the user has currently but these are the boundaries to which we want them to have. So they should never have access to um uh ML services and if someone's to uh apply them uh uh permissions it'll always be within these boundaries. Then you have service control policies and these are organizationwide policies. So if you have a policy where you don't want anyone to run anything in the Canada region, you can apply that policy at the organizational level and it will be enforced. Then within an IM policy there are the concept of conditions and so these are all the kind of like uh little knobs you can uh tweak to say how do I uh control based on a bunch of different factors. So there's source IP so restrict where the IP address is coming from a requested region so restrict based on the region as we just mentioned as an example. uh multiffactor off presence. So restrict if MFA is turned off. Uh current time, so restrict access based on time of day. Maybe you your employee should never be really using things at night. And so that could be an indicator that someone is doing something malicious. So you know, only give them access during a certain time of day. And so that's where we're going to figure out, you know, based on all these type of controls, security controls, uh to our ads resources, we can kind of enforce the zero trust model on AWS. OS does not have a readytouse identity controls that are intelligent which is why I ad is considered not to have a zero trust offering for customers and thirdparty services need to be used. So what I'm saying is that technically you know this checkbox is this thing saying okay we can kind of do zero trust on AWS but there's a lot of manual work and you know if I was to say okay um I don't want anyone using this at nighttime it doesn't really detect you know what I'm saying it's not going to say oh I think this time is suspicious or malicious so then restrict access only to these core services and anything outside of the services can't be used it can't exactly do that without a lot of u work yourself and that's what I'm talking about here where we have a collection of ad services that can be set up in an intelligence intelligentish detection way for identity concerns but requires expert knowledge so the way you might do that on AWS is that everything all the API calls go through ads cloud trail and so what you could do is feed those into Amazon guard duty and guard duty is an intrusion uh uh intrusion detection and protection system so it could detect suspicious or malicious activity on those cloud trail logs and You could follow that up with remediation or you could pass that on to Amazon detective that could analyze, investigate and quickly identify security issues uh that it could ingest from Guard Duty. But I'm telling you that this stuff here is not as easy um for the consumer. And so you of course you can do zero trust model but it's going to take a lot of work here and there are some limitations which we'll talk about next here. So now let's see how we would do zero trust on Adabus with third parties. So Adus does technically implement a zero trust model but does not allow for intelligent identity security controls which you know you can do it but it's a lot of work. So uh let's kind of compare it against kind of a third party where we would get the controls that we would not necessarily get with AWS. So for example, Azure Active Directory has a real-time and calculated risk detection based on data points than AWS and this is based on device and application, time of day, location, whether MFA is turned on, what is being accessed and the security controls verification or logic restriction is much more robust. So you know just as one particular example like device and application is not something that ads factors in uh with the existing controls or at least not in a way that is consumer friendly and you know I can't say on adabus okay when you think that this is the type of threat only allow them access to these things or if you think they're in a risky area or risky uh location only give them access to you know these things or where there's not sensitive data you can't exactly do that on adabus very easily and so this is where third party solutions are going to come into play. So you have Azure Active Directory, Google Beyond Corp, JumpCloud, and all these have more intelligent security controls for real-time detection. Um, and so the way you would use these is these would be your primary directories. Uh, for Google Beyond Corp is just a zero trust framework. So I guess you'd use uh Google's uh cloud directory, but the idea anyway here is that you'd use single sign on to connect those directories to your ads account. And that's how you'd access access those uh ads resources and you get this more robust functionality. Okay. Hey, it's Andrew Brown from Exam Pro and we're looking at identity. Now, we need to know a bunch of concepts before we talk about identity on AWS. So, let's jump into it. The first is a directory service. So, what is directory service? Well, it's a service that maps the names of network resources to network addresses. and a directory services shared uh infrastructure or information in infrastructure for locating, managing, administrating and organizing resources such as volumes, folders, files, printers, users, groups, devices, telephone numbers and other objects. A directory service is a critical component of a network operating system and a directory server or a name server is a server which provides a directory service. So each resource on the network is considered an object by the directory server. information about a particular resource is stored as a collection of attributes associated with that resource or object. Uh well-known directory services would be a domain name service. Um so the directory service for the internet, Microsoft active directory and uh they have a cloud hosted one called Azure Active Directory. We have Apachi directory service, Oracle inter internet directory. So, oid uh open ldap uh cloud identity and jump cloud. Okay. Hey, this is Andy Brown from Examp Pro and we are taking a look at Active Directory. Now, you might say, well, we're doing AWS. Why are we looking at this? Well, no matter what cloud service provider you're using, you should know what Active Directory is. Uh especially when it comes to identity because you can use it with AWS. Um so, let's talk about it. So, Microsoft introduced active directory domain services in Windows 2000 to give organizations the ability to manage multiple on-remise infrastructure components and systems using a single identity per user. And since then, it's uh involved uh evolved obviously it's uh running beyond Windows 2000 as of today. And uh they even have a managed one called Azure AD which is on Microsoft Azure. But just to kind of give you an architectural diagram here. The idea is that you would have your domain servers here. Uh and they might have child domains. And the idea is that you have these running on multiple machines so that you have redundant ability to log in from various places. When you have a bunch of domains, it's called a forest. And then within a domain, you actually have organizational units. And within within organizational units, you have all your objects like your users, your printers, your computers, your servers, uh all things like that. Okay. Hey, this is Andrew Brown from Exam Pro and we are talking about identity providers, also known as IDPs. So, an identity provider is a system entity that creates, maintains, and manages identity information for principles and also provides authentication services to applications with a federation or distributor network. A trusted provider of your user identity that lets you use authent uh lets you authenticate to access other service identity providers. So this could be like Facebook, Amazon, Google, Twitter, GitHub, LinkedIn. Uh federated identity is a method of linking a user's identity across multiple separate identity management systems. And so some things that uh we can use for that is like open ID. So this is an open standard and decentralized authentication protocol. Allows you to be able to log in to different social media platforms using Google or Facebook account. Open ID is about providing who you are. Then we have OOTH 2.0. This is an industry standard protocol for authorization. OOTH doesn't share password data but instead uses authorization tokens to prove an identity between consumers and service providers. OOTH is about granting access to functionality. And then we have SAML security assertion markup language which is an open standard for exchanging authentication and authorization between an identity provider and a service provider. And this is important use for SAML which we use for single sign on via the web browser. Okay. Hey, this is Andrew Brown from Exam Pro and we're looking at the concept of single sign on. So SSO is an authentication scheme that allows a user to log in with a single ID and password to different systems and software. SSO allows IT departments to administer a single identity that can access many machines and cloud services. So the idea is you have Azure Active Directory. This is just an example of a very popular one. You'd use SAML to do SSO and you can connect to all things Slack, Adabus, Google Workspaces, Salesforce or your computer. Uh the idea here is uh once you uh log in um you don't have to log in multiple times. So you log into your primary directory and then after that you're not going to be presented with a login screen. Some services might show an intermediate screen, but the idea is you're not entering your credentials in multiple times. So it's seamless. All right, let's talk about LDAP. So, lightweight directory access protocol is an open vendor neutral industry standard application protocol for accessing and maintaining distributed directory information services over uh IP network. So, a common use of LDAP is to provide a central place to store usernames and passwords. LDAP enables for same sign on. So same sign on allows users to uh use a single ID and password but they have to enter it every single time they want to log in. So maybe you have your on premise active directory and then it's going to store it in that LDAP directory and so the idea is that um you know all these services like Google Kubernetes um Jenkins is going to uh deal with that LDAP server. So why would you use LDAP over SSO which is more convenient or seamless? So most SSO systems are using LDAP under the hood, but LDAP was not designed natively to work with web applications. So some systems only support integration with LDAP and not SSO. So you got to take what you can get. Okay, let's take a look here at multiffactor authentication, also known as MFA. And this is a security control where after you fill in your user's name and email password, you have to use a second device such as a phone to confirm that it's you that is logging in. So MFA protects against people who have stolen your password. MFA is an option in most cloud providers and even social media websites such as Facebook. So the idea is I have my uh username or email and password. I'm going to try to log in. This is the first factor. And the second factor or multiffactor is I'm going to use a secondary device. So maybe my phone where I'm going to enter in different codes or maybe it's passwordless. So I just have to press a button to confirm that it's me and then I'll get access. So in the context of AWS it's strongly recommended that you turn on MFA for all your accounts especially the adabus root account. Uh we'll see that when we do the follow alongs. Let's take a look at security keys. So a security key is a second device used as a second step in authentication process to gain access to a device, workstation or application. A security key can resemble a memory stick and when your finger makes contact with a button of exposed metal on the device, it will generate and autofill a security token. A popular brand of security keys is the Ubi key and this is the one I use and is looks exactly like the one that's right beside my desk. It works out of the box with Gmail, Facebook, and hundreds more. supports 502 web off uh U2F. It's waterproof and crush resistance. It uh has variations like USBA us NFC dual connectors on a single key. Can do a variety of things. So when you turn on MFA on your Adabus account, you'll have virtual MFA device. So that's when you're using something like a phone or using software on your phone to do that. Then there's the U2F security key. So this is what we're talking about right now. And there's even other kinds of hardware MFA devices um which we're not really going to talk about, but um you know just security keys tie into MFA. And this is a lot better way than using a phone because you know you can have on your desk and press it um and you know you don't have to worry about your phone being not charged. Okay. Hey, this is Andrew Brown from Exam Pro and we are taking a look at Adabus identity and access management also known as IM and you can use this service to create and manage adabus users groups uh use permissions to allow and deny their access to adabus resources. So there's quite a few components here. Let's get to it. So the first is IM policies. So these are JSON documents which grant permissions for specific users, groups or a role to access services and policies are attached to IM identities. Then you have IM permissions or a permission and this is an API action that can or cannot be performed and they're represented in the IM policy document. Then there's the IM identity. So we have IM users. These are end users who log into the console or interact with AWS resources programmatically or via clicking UI interfaces. You have IM groups. So these these uh group up your users. So they all share the same permission levels. So maybe it's admins, developers or auditors. Then you have IM roles. So these roles grant adabus resources permissions to specific adabus API actions and associate policies to a role and then assign it to an adus resource. So just understand that roles are when you're attaching these to resources. So like if you have an EC2 instance and you say it has to access S3, you're going to be attaching a a role not a policy directly. Okay. Hey, this is Andrew Brown from Exam Pro and we are looking at IM policies a little bit closer here and they are written in JSON and contain the permissions which determine the API actions that are allowed or denied. Um, and rarely do I write these out by hand uh because they have a a little wizard that you can use to uh write out the code for you. But if you want to, you absolutely can write it out by hand. But we should know the contents of it and how these JSON files work. So the first thing is the version uh which is the policy language version and it's been 2012 for a very long time. I don't see that changing anytime soon if they happen to change uh what or what the structure of the JSON is. Then you have the statements and these are for policy elements uh and you're allowed to have multiples of them. So the idea is that this is the the policies or permissions we should say uh that you uh plan on applying. Then you have the SID. This is a way of labeling your statements. Um, this is useful for like visualization or for referencing it for later on, but a lot of times you don't have to have a SID. Um, then there's the effect. It's either allow or deny. Then you have the action. So here we're saying give access to S3 for all actions under it. There's another action down below where it's saying give access. I'm get my pen tool out here just to create a service link role. So that's a cross account role there. Then there's the principal. So this is the account user role or federated user to which you would like to allow access or deny. So we're specifically saying uh this IM user named Barkley um in our adabus account there. Uh then there are the resources. So the resources to which the action applies. Um so in this one up here we are specifying a specific adabus bucket. Here we're saying all possible resources in it in an adabus account. And then the condition. So there's all sorts of different kinds of conditions. So this is a string-like one. saying look at the service name and if it starts with this or that then they'll have access to that. So this person even though it says all resources they're really only going to have access to RDS. Okay. So in this follow along we're going to take a closer look at IM policies. So go to the top and type in AM. And what we'll do is make our way over here uh all the way over to policies. And what I want to do is create a new policy that only has access to uh um limited resources. So um let's say we want to create an Amazon EC2 instance and that EC2 instance has access to a very particular S3 bucket. So what I want you to do is make your way over to S3. And we're going to create ourselves a new bucket. And I'm going to go ahead and create a bucket here. We're going to call this um policy tutorial and I'm going to just put a bunch of numbers here. You'll have to randomize it for your use case. And so now that we have our bucket, what we're going to do is go ahead and create a policy. And the policy is going to choose a service. We're going to say S3. And what I want to do is only be able to list out actions. I'm going to expand this. So I don't want everything. So we're just going to say list buckets. Okay. And then what we'll do is uh expand this here. And I want to say for a particular bucket. So we'll go back over here, click into our bucket, and uh we're going to go ahead and set those permissions by finding that uh AR. We're going to paste that. We're going to paste that AR up there. Sometimes it's a bit tricky. It vanishes on you. And we could set other conditions if we wanted to, but this is pretty simple. as it is. And so that's our rule here, right? So we're saying this policy allows us to list this bucket for that. Okay. So what we'll do is go ahead and hit next. We'll hit review and we'll just say my bucket policy and we'll create that policy. Okay. So there's a few other things I think that I'd like to do with this policy. I'm going to pull it back up here. So if we want to find it, uh you used to be able to filter these based on the ones that you created, but um yeah, these are like the little icon. So these are ones that I've created up here. And so there's my bucket policy. And I feel like I want to update this policy to have a bit of extra information here. So I'm going to go edit this policy. No, you know what? I think this is fine. So, what I want to do is now create a role. And we're going to create a new role. And I'm going to call this um well, before I do, I need to choose what it's for. So, it's going to be for EC2. So, we're going to go ahead and hit next. We're going to choose our policy. So, my bucket policy. There it is. And I want to add another one here because I want to be able to use sessions manager because I really don't want to use an SSH key to check that this works. And so um for this I I need to use SSM. So I'm gonna type in SSM here and I'm going just make sure this is the new one. So this policy will soon be deprecated. Use Amazon SSM manage for instance should always open these up and read them and see what they do. And so that's the one that's going to allow us to access uh Simpsons manager. So we can use sessions manager. Okay. And so we're going to say my EC2 roll for S3. I'm go ahead and create ourselves a RO. And so now that we have our RO, I'm going to go over to EC2 and I'm going to go ahead and launch myself a new instance. We're going to choose Amazon Linux 2. We're going to stick with T2 Micro. I'm going to go over to configuration here. Everything is fine here. Um, I'm fine with all that. Storage is fine. We'll go to security group. And I don't want any ports open because I'm not going to be using SSH. We're going to launch this instance. I don't even want to keep pair. Okay. And then we're going to go over here. And so what we're waiting for is this instance to launch. As that is going, what I want to do is go over to my S3 bucket. And I want to place something in this bucket. So I do have some files here. Um, so what I'm going to do is create a new folder here. Whoops. Uh, I'm going to go back and I'm just going to create a folder first. Create a folder. Enterprised. And I'm going to click into this. And then I'm going to upload all of my images here. So you'll have to find your own images off the internet. These are just the ones I have. And we'll go ahead and upload those. Give that a moment. Okay. And so we don't have access to read those files. We'll adjust our policy as we go so that we can do that. Okay. So this instance should be running. Um it has doesn't have the two status checks passed. We should be able to uh connect to it. So click on connect here. And so we have options like EC2 instance connect, sessions manager, SSH client. I want you to go to sessions manager. says, "We weren't able to connect to your instance. Common reasons. SSM agent wasn't installed." We absolutely have that installed. The required IM profile. Oh, right. So, we were supposed to attach I forgot to do. We were supposed to attach an IM profile, right? So, an IM profile is the RO uh it or the it holds the RO uh that's going to give the permissions to that instance. And since we didn't add it, we got to go retroactively add it after the fact. And so I'm going to have to modify the IM RO and we're going to choose my EC2 RO for S3. And we're going to save that. And actually when that happens, you have to reboot the machine. You only have to do that if you have no RO attached like prior, no profile attached, and you're attaching it for the first time. But after that, you never have to reboot the machine. This is the only case where you'd have to do that. That's why when I launch an EC2 instance, I always at least have the SSM role attached, the managed one to get sessions manager so that I don't ever have to do a reboot in case I have to update the policy. And so we will give that a moment. There it says initializing. So I'm going to try again to connect to it. Okay. And we still don't have that option there. Um so I'm going to go back to my instances. I'm going to check to see if the role the role or policy is attached or profile I should say. So I'm just looking for it here. There it is. And so if I click into this into the RO, we can see that we have the Amazon SSM manage instance core there. So that's set up and the my uh bucket policy. So, this has everything that it should be able to do it. No problem. Okay. So, I'm going to try that again. Okay. So, now the connect shows up. AWS is finicky like that. You just have to have confidence in knowing what you're doing is correct. Okay. We'll go ahead and hit connect. And I didn't have to use SSH keys or anything. And this is a lot more secure way to connect your instances. when it logs us in, it's going to set us as the SSM user, but we want to be the um the EC2 user. Okay, that's uh AdWM like their Linux versions as the EC2 user and that's what you're supposed to use. But it's just you just that's how you have to get to that. You just have to type that pseudo su-en EC2 user. Okay, just once. And if you type who am I, that's who you are. If you type exit, you'll go back to that user. So if I type exit and I type who am I? I'm now this person. So I'm going to go back hit up. Go back in there. Type clear. So now I want to see if I have access to S3. So I have to do AO as S3 LS. Let's see if I can list buckets. It says access denied. So I mean that kind of makes sense because if you have list buckets and we're just saying only that bucket, that might not make a whole lot of sense. So I'm going to go back to my policy. I might have just written a a crummy policy, but we'll say I am here. If we have that one open, we should just go here and click on this policy here. I'm going to edit that policy. So, what I'm going to do is I'm just going to change it. I'm going say all resources, review the policy, save changes, and we'll see how fast that propagates. Okay. because I'm pretty sure I don't have to do anything here. It should just now give me full access to S3. Just going to keep on hitting up here. So, what I'm going to do is I'm just going to take like a three four minute break. Going to get a drink. I'm going to come back here and see if this propagates. I'm pretty sure I don't have to do anything for that to propagate. And I think that I've attached everything correctly here. Okay. Okay. So, I haven't had much luck here. It's still having the same issue. So, if that is happening, what I'm going to do um is I'm just going to reboot it because maybe I didn't give it a good opportunity to reboot there. Again, I don't think we should have to reboot it every time when we're we're changing um uh things there. But, we will give it another go here and see if that fixes that problem there. So, no sessions man is going to time out here, which is totally fine. It's going to kill that session there. Um, and so what we'll have to do is close this out because there's not much we can do with that. And we're going to go ahead and go back to connect. And so we're waiting for this button to appear because it is rebooting. So if we want to monitor that stuff, usually there is an option here to monitor where it'll show us the system logs of what it's doing. So here it's just like restarting the machine. I'm not sure if we expect to see something after this. So, I can click that there. And uh yeah, it's easy to get turned around this. So, I can connect to it again. Now we'll type in pseudo su- ect2 user ads s3 ls and we still have access deny for list buckets. So if that's the case it could be that um sometimes you need other permissions when doing list policy like list buckets. So if that's the case we're going to do a sanity check. I'm just going to say all permissions here. Okay. And this way there's no way that I've set this incorrectly. Um it just has to work now. So type this in. There we go. Okay. So there has to be something more to it. So just because you say list buckets, you know, like means there must be more to it, right? So if I go here to this, right, and I say whoops, and I say uh list buckets here, we'll say copy paste. Okay. Here it's saying maybe I need get object as well. So I just know from using adabus a long time that that's the case that it could be more than one thing. So you know that was in the back of my mind that that could be happening and I guess that is but notice I didn't have to restart my uh my server boot my server to get those to work. Um but anyway let's go lock that down and see if we can just kind of make this uh more focused. So let's say um all resources I'm going to specify the condition. So I might want to just say for particular buckets we'll say specific when we do checkbox everything then you have to do this. So for storage accounts these are fine any for objects that could be something we'll say multi-reion access bucket any bucket but what I'm going to say is I want to only allow them to access things in a particular bucket and so if I go to AR here um what is our bucket Our bucket name is policy tutorial 3414 whatever, right? And so we can actually give it a wild card or we can say enterprise d and we learned this in the course that uh you can provide orange with randomized things there. I don't know if I spelled it wrong over here. So, I should really double check. I should probably just copy it. Oops. I just don't want to type it wrong. And so this okay means that we should only be able to get stuff from there. I'm going to review the policy. See if it takes. Save the changes. And if I just view the JSON here, notice it says anything from here, right? So allow S3 anything as long as it's within here. And then it also broke it up into sub ones for here. Okay. Um, so anyway, what I want to see is what happens if I upload something into the loose area here. So I'm going to say upload and I'm going to just say add a file. We're just going to grab data here. and upload it. Go back to our bucket. There's our file. We have that stuff in there. And so if I go back over to my EC2 instance, which I'm still connected to. Uh, who am I? Okay, great. Clear. Um, so I'm going to say S3 LS. See if that works still. It does. Good. And so what I want to do is see if I can copy a file locally. So I'm going to do ads S3 copy. I think it was S3. No, it's just S3. Copy policy uh S3 policy tutorial 341. Whoops. 34 tutorial 34141 slash enterprised data.jpg. I think it's a jpg. Let's go double check. Yeah, it is. Okay. And then I just want to say data.jpg. And it downloaded it, right? So, I'm going to remove that one. And so, now what I'm going to do is I'm just going to see if my policy is working or maybe my permissions aren't exactly what I think they are. And I was able to download it. So, it's these policies can get kind of tricky because like this one says allow all actions for these, but then these say all actions. And so, That makes it hard because I want get object. So, another thing we can do, and if that one doesn't work really well, I'm just going to write one by hand. It's not that scary to write these by hand. You just get used to it. So, I'm going to say effect. Um, is it disallow or maybe it's deny? deny action s3 get object. I believe that's what it is. Resource and then I'm going to specify exactly the resource I don't want it to allow. So, we're going to say AR AWS S3 3 colons policy tutorial 34141. Uh, I just say data.jpg. Now, if this is not valid, it's going to complain and say, "Hey, you didn't write this right." And it and it's fine. Okay. So, we'll save those changes. And so that should deny access to that, right? Hopefully I got the policy right. Okay, so that one doesn't work, which is fine. And that one's fine. So that worked. We were able to deny that. But you can see there's a little bit of an art to creating these policies. Uh as you make more of them, it becomes a lot easier. So hopefully it's not too scary. But uh that's all there really is uh to it that I want to show you today. So, what we're going to do is clear out this bucket. We're done with this bucket here. So, we'll say delete. Whoops. We got to empty it first. And we'll just say permanently delete here. Okay. And we will exit that out. We're going to go ahead and delete that bucket. Grab its name here. And uh we'll go back over here. I think I forgot to delete this bucket from earlier. I'm just going to delete that because I don't need that bucket if that's okay with you. Just going to go ahead and delete that. And we have that EC2 instance running. So, we want to stop that. Go ahead and we're going to terminate that. Yes, please. And then we'll go to IM and do some cleanup. I have some custom roles I've been creating um you know, from prior things. A lot of those usually there's a way to uh we've redesigned it. Okay. Where's the redesign? This is the redesign. That can't be it because there'll be like roles that ads makes. I think these are all roles that I've made. Um I don't want to delete service roles, but I want to get rid of some of these because I just have too many. You know, it's getting out of hand for me. And I'm gonna just see if it will let me delete all of these. Let's delete those. There we go. Just clean up a bit. I still have a lot here, but there's like service roles that Adabus creates once, and you really don't want to delete those because you don't. Um, and then I have a bunch of these. Like I'm never going to use these, so I might as well detach them. Delete. Detach. Really don't want to keep like rolls that you're never going to use around things like that, like gauze. We're going to be using that again. Delete. There's that bucket we just created. Anyway, you get the idea. So, uh yeah, that's uh that's I am okay. Principle of lease privilege PP is the computer security concept of providing a user role or application the least amount of permissions to perform an operation or an action. And the way we can look at it is that we have just enough access. So ja permitting only the exact actions for the identity perform a task and then we have just in time jit permitting the smallest length of duration an identity can use permission so usually when we're talking about pp it's usually a focus on here u but now these days uh there's a larger focus on jit as well and so jit is the difference between having long lived um uh permissions or access keys versus short-lived ones and the most progressive thing in pp is now riskbased adapt adaptive policy. So each attempt to access a resource generates a risk score of how likely the request is to be from a compromised source. So the risk score could be based on many factors such as device, user location, IP address, what services being accessed and when. Did they use MFA? Did they use biometrics things like that and right now at as of this time does not have a riskbased adaptive policies built into AM. You can roll your own. Um what's interesting is Cognto has riskbased adaptive policies. they call it like um adaptive authentication but that's for user pools and not identity pools. User pools is for getting access to an app uh that you have built through an IPD where identity pools incognito is about getting access to adabus resources. So uh you know I'm sure ads will get it eventually but they just don't have it right now and you have to rely on third-party um identity solutions uh to get riskbased adaptive policies. Now talking about just enough access and just in time. Just in time is like you think how would you do that with AWS? You just add and remove permissions manually. Well, one thing you could do is use something like console mi. So this is an open-source Netflix project to self-s serve short-lived IM policies. So an end user can access adabus resources while enforcing JA and JIT. And so there's a repo there as well. Um but the idea is they have like this self-s serve wizard. So you say I want these things and then the machine decides okay you can have them or you you don't need them. and it just frees you up asking people and worrying about the length and stuff like that. Okay. Hey, this is Andrew Brown from Exam Pro and we are taking a look at the adabus root user. Uh, and this gets confusing because there's an adabus account, root user, and regular user. So, let's distinguish what those three things are. So, here we have an adus account and the account which holds all the ads resources including the different types of users. Then you have the root user. This is a special account with full access that cannot be deleted. And then you have just a user and this is a user for common tasks that is assigned permissions. So just understand that sometimes people say adas account they're actually referring to the user and sometimes when they're saying account they're actually referring to the ads account that holds the users. I know it's confusing. It just it's based on what people decide the context is when they're speaking. So the ads account user is a special user who's created at the time of the ads account creation and they can do uh they have a lot of conditions around them. So the reuser account uses an email and password to log in as opposed to the regular user who's going to provide their account ID alias username and password. The root user account cannot be deleted. The root user account has full permissions to the account and its permissions and cannot be limited. And when we say it cannot be limited, we're saying that if you take an IM policy to explicitly deny the user access to resources, it's not something you can do. However, you can do it in the case of adabus organizations with service control policies because a service control policy applies to a bunch of accounts. So it just it's one level above and so that is a way of limiting root users, but generally you can't limit them within their own account. Uh there can only be one root user uh per adus account. The root user is instead for very spe spe spe spe spe spe spe spe spe spe spe spe spe spe spe spe spe spe spe spe spe spe spe spe spe spe spe spe spe spe spe spe spe spe spe spe spe spe spe spe specific and specialized tasks that are infrequently or rarely performed. And there's a big list and we'll get into that here in a moment. And the root uh account should uh not be used for daily or common tasks. It's strongly recommended to never use the root users access keys because you can generate those and use them. It's strongly recommended to turn on MFA for the root user and any of us will bug you to no ends to tell you to turn it on. So let's talk about the uh tasks that you should be performing with a root user and only the root user can perform. So changing your account settings. This includes account name, email address, root user password, root user access keys, other account settings such as contact information, payment currency preference, regions do not require the root user credentials. So not everything. Um restore IM user permissions. So if there's an I IM admin, so it's just a user that has admin access who actually revokes their own permissions, you can sign into the root user to edit policies and restore those permissions. Um, so you can also activate IM access to the billing and cost management console. You can view certain tax invoices. You can close your Adabus account. You can change or cancel your Adabus support plan. Register as a seller in the reserved instance marketplace. Enable MFA uh delete on S3 buckets. edit or delete an Amazon S3 bucket policy that includes an invalid VPC ID or VPC endpoint ID, sign up for GVCloud, and something that's not in here, which this I took this from the documentation, but uh you can use the ads uh account user to create the organization. You can't create that with any other user. So, um you know, the ones I highlighted in red are very likely to show up in your exam, and that's uh why I highlighted them there for you. But there you go. Hey, this is Andrew Brown from Exam Pro and we are taking a look at Adabus single sign on also known as Adabus SSO. And so this is where you create or connect your workforce identities in ads once and manage access centrally across your ads organization. So the idea here is you're going to choose your identity source whether it's SSO itself, active directory, SAML 2.0 IDP. You're going to man manage user permissions centrally to adops accounts applications sample applications and it uses it can you get singleclick access to all these things. So you know just to kind of zoom in on this graphic here uh you know you have your on premise active directory it's establishing a ad trust connection over to a single sign on you're going to be able to apply permissions to access resources within your ads account so via adabus organizations in your organizational units down to your resources you can also use ads sso to access custom samplebased applications so you know if I build a web app and I uh like the exam pro platform and I wanted to use sample based uh connections for single sign on there I could do that as well and you can connect out SSO access to your business cloud applications so office 365 Dropbox Slack things like that so there you go let's take a look here at application integration so this is the process of letting two independent applications to communicate and work with each other commonly facilitated by an intermediate system. So cloud workloads uh strongly encourage systems and services to be loosely coupled and soabus has many services for the specific purpose of application integration and these are based around common systems or design patterns that utilize application integration and this would be things like queuing streaming pub API gateways state machines event buses and I'm sure there are more but that's what I could uh think about that are the most common ones. Okay. So to understand queuing we need to know what is a messaging system. So this is used to provide asynchronous communication and decouple processes via messages and events from a sender receiver or a producer and a consumer. So a queueing system is a messaging system that generally will delete messages once they are consumed. It's for simple communication. It's not real time. You have to pull the data. It's not reactive. And uh a good analogy would be imagine people that are queuing in a line to go do something. So for AWS it's called simple queueing service SQS. It's a fully managed queuing service that enables you to decouple and scale microservices, distributed systems and serverless applications. So a very common use case in a web application would be to queue up transactional emails uh to be sent like sign up, reset password. And the reason why we have queuing to decouple uh those kind of actions is that if you had a long running task um and you had too many of them, it could hang your application. So by decoupling them and letting a separate compute uh service take care of that um that would be something that would be very useful. Okay, let's take a look here at streaming. And so this is a different kind of messaging system. Um but the idea here is you have multiple consu consumers that can react to events and so in streaming we call messages events and then in a queuing system we just call them messages but events live in the stream for long periods of time so complex operations can be applied and generally streaming is used for real time stuff whereas queuing is not necessarily uh real time and so adus's solution here is Amazon Kinesis you could also use Kafka but we'll focus on Kinesis here so Amazon Kinesis is the adabus fully managed solution for collecting, processing and analyzing streaming data in the cloud. So the idea is that you have these producers so that are producing events could be EC2 instances, mobile devices, could be a computer or traditional server. They're going to go into the data stream. There's a bunch of shards that scale and there's consumers on the other side. So maybe Redshift wants that data, Dynamo DB, S3 or EMR. Okay, but the thing you have to remember is that streaming is for real time data. And as you can imagine, because it's real time and it's doing a lot more work than um a queuing system, it's going to cost more. Okay. So, we have another type of messaging system known as pub sub. So, this stands for publish subscribe pattern commonly implemented in messaging systems. In a pub sub system, the sender of messages, the publishers do not send their messages directly to receivers. They instead send their messages to an event bus. The event bus categorizes their messages into groups. Then receivers of messages, subscribers subscribe to these groups. Whenever new messages appear within their subscriptions, the messages are immediately delivered to them. So the idea is you have publishers, event bus subscribers. And event buses appear more than once. So it actually appears in streaming, appears in this pub sub model, and then it can appear in other variations. So you're going to hear it more than once, the word event bus. Um, so the idea here is the publisher has no knowledge of who the subscribers are. The subscribers do not pull for messages. Messages are instead automatically immediately pushed to the subscribers. And messages and events are interchangeable terms in pub sub. All right. And so you know the idea here with publisher subscribers just imagine getting like a um a magazine subscription, right? If you think of that, you kind of think of the mechanisms that are going here. In terms of practicality, it's very common to use these as a real-time chat system or a web hook system. So, you know, hopefully that gives you an idea there. In terms of AWS's solution, we're using simple notification service SNS. This is a highly available, durable, secure, fully managed pub sub messaging service that enables you to decouple microservices, distributed systems, and serverless applications. So, here we have a variety of publishers like the SDK, the CLI, cloudatch, aid with services. You'll have your SNS topic. You can uh filter things, fan them out, and then you have your subscribers through Lambda, SQS, emails, HPS looks very similar to streaming, but again, you know, um you know, there's not a lot of communication going back between it. It's just publishers and subscribers and it's limited to, you know, these things here. So, it's a very managed service, right? Whereas, uh Kinesis, you can do a lot more with it. Okay. So what is API gateway? Well, it is a program that sits between a single entry point and a and multiple backends. API gateway allows for throttling, logging, routing, logic or formatting of the request and response. When we say request and response, we're talking about HTTPS uh requests and responses. And so the service for AWS is called Amazon API gateway. So API gateway is just a type of pattern and this is the few cases where ads has named the thing after what it is and so we have Amazon API gateway which is a solution for creating secure APIs in your cloud environment at any scale create APIs that act as a front door for applications to access data business logic or functionality from back-end services. So the idea is that you have data coming in from uh mobile apps, web apps, IoT devices and you actually define the API calls and then you say where do you want them to go. So maybe tasks are going to go to your lambdas um and then other routes are going to go to RDS, Kinesis, EC2 uh or your web application. And so these are really great for having um this uh being able to define your API routes and change them on the fly and then and always route them to the same place. Okay. So what is a state machine? It is an abstract model which decides how one state moves to another based on a series of conditions. Think of a state machine like a flowchart. And for AWS, the solution here is Adabus step functions. So coordinate multiple ad services into a serverless workflow, a graphical console to visualize the components of your application as a series of steps. automatically trigger and track each step and retries when there are errors. So your application executes in order as expected every time, logs the state of each step. So when things go wrong, you can diagnose and debug problems quickly. And so here's example of using a bunch of um uh steps together on the uh the adabus step functions service. And so you know this is generally applied for serless workflows but it is something that is very useful in application integration. Okay. So what is an event bus? An event bus receives events from a source and routes events to a target based on rules. So I'll get my pen tool out here. So we have an event. It enters the event bus. We have a rules. Tell it to go to the target. It's that simple. And we have been seeing event buses in other things like uh streaming and uh pub sub but adabus has this kind of event bus offering uh that is kind of uh high level it's called event bridge and it's a service event bus service that is used for application integration by streaming real-time data to your applications. The service was formerly known as event Amazon cloudatch events. They gave it a renaming to give it a better um opportunity for users to know that it's there to use. uh and they also extended its capabilities. And so the thing is is that a lot of ads services are always emitting events and they're already going into this bus. And so if you utilize this service um it's a lot easier than having to roll your own thing uh with other services. So Amazon event bridge will just define an event bus. So there is an event bus holds event data defines the rules on an event bus to react to events. You always get a default event for every single AIS account. You can create custom event buses scope to multiple accounts or other ABS accounts. You have a SAS event bus scope to thirdparty SAS providers. You have producers. These are ADA services that emit events. You have events. These are data emitted by services. There's JSON objects that uh travel the stream within the event bus. You have partnered sources. These are thirdparty apps that can emit events to event buses. You have rules. These determine what events to capture and pass to targets. And then targets, which are ADA services that consume events. So, yeah, it's all just this great built-in um uh uh uh stuff that's going on here. And so you know there there might be a case where you can use event bridge and save your time uh a lot of time and effort uh doing application integration. Okay. Hey this is Andrew Brown from Exam Pro and we are taking a look at application integration services at a glance here. So let's get through them. So the first is simple notification service. This is a pub sub messaging system. Sends notifications via various formats such as plain text, email, HTTPS, web hooks, SMS, text messages, SQS and Lambda. Pushes messages which are then sent to subscribers. You have SQS. This is a queueing messaging system or service that sends events to a queue. Other applications pull the queue for messages commonly used for background jobs. We have step functions. This is a state machine service. It is. It coordinates multiple AA services into a serverless workflow. Easily share data among lambdas. Have a group of lambdas wait for each other. Create logical steps. Also works with Fargate tasks. We have event bridge formerly known as cloudatch events. It is a service event bus that makes it easy to connect applications together from your own application, thirdparty services, and adabus services. Then there's Kinesis, a real-time streaming data service. Creates producers which send data to a stream. Multiple consumers can consume data within a stream used for real-time analytics. Click streams ingesting data from a fleet of IoT devices. You have Amazon MQ. This is a managed message broker service that uses Apache ActiveMQ. So if you want to use Apache Active MQ, there it is. Manage Kafka service. And this gets me every time because it says MSK. And that is the proper initialization, but you think it'd be MKS. It is a fully managed Apache Kafka service. Kafka is an open source platform for building real-time streaming data pipelines and applications. Similar to Kinesis but more robust, very popular by the way. We have API gateway, a fully managed service for developers to create, publish, maintain, monitor, and secure APIs. You can create API endpoints and route them to Adabus services. We have AppSync. This is a fully managed GraphQL service. GraphQL is an open-source agnostic query adapter that allows you to query data from many different data sources. So there you go. Hey, this is Andrew Brown. Let's talk about Adabus Amplify, which is an opinionated framework and a fully managed infrastructure to allow developers to focus on building web apps and mobile applications. This is a very confusing service because there is an an umbrella of things that are under Adus Amplify. So we have the CLI which is used uh to interact with amplify resources. We have the SDK which you use client side. We have amplify UI which are UI components to quickly build up themes connected to AWS. We have Amplify hosting which is for static website hosting. I also think it does like web application hosting. We have Amplify Studio which is a visual development environment for building full stack web and mobile apps. Um and then there's Gen Two. And I just hate Amplify so much because they keep saying that they're focusing on developer experience. Yet, no matter how many times I pick up the service, and it's been like what, six years or five years since I've I've been using this, a year after year, hoping that this thing will be better and I can never get through a single tutorial from their getting started stuff. And you really have to piece things together and it's just a mess. So, um, let's just talk about what it wants you to know. And I don't want you to waste your time learning this service. It amplify has direct integrations with Cognto, API gateway, AppSync, S3, DynamoB, AOS, Lambda, and I'm sure a whole host of other things. The the big idea with Amplify is that they try to be JavaScript framework first to get people in. They tell you all the frameworks it works with. It works with regular JavaScript. Um, but they seem to spend a lot of time around these components to make your life easier. don't think it really worked out that well Amplify has Gen two which is currently in preview but it's all over their marketing stuff and they're telling you to use that right now and the idea is that this is supposed to improve the developer experience but supposed to be code first um which it should have always been code first but uh they got really confused along the way um so you know amplifies just never never seems to get it there uh despite how nice the people are in the team and the developer advocates and stuff like that it just does not cross the line. It's really sad. One other thing that you need to know about able is that if you want to use Amazon Cognto, they used to have like an isolate library for it for um a client side library when you wanted to integrate your own custom one, but you have to use the amplify um amplify client side SDK in order to interact uh with Cognto. Okay, so there used to be one that was separate. So unfortunately, you have to bring that over. The nice thing is that amplify is modular. So that is great. But yeah, I will attempt a lab and it's going to be a messy one and I don't expect to finish it, but I just want to give you kind of an idea of what it looks like when you're utilizing it and where I'm going to stop and say, "Hey, I don't like the service." Okay. Hey, this is Andrew Brown. Let's talk about AppSync, which is a fully managed GraphQL service. Uh so the idea is that you have uh apps sync which is uh going to be your entry point uh to your API. You will define a schema which will represent your data model. Within the data model you have models. So um those are going to need to pull data from data sources. And the way they're going to do that is through resolvers. And so resolvers um implement state changing operations for the queries, mutations or subscriptions. So they basically map uh basically to those things. Uh and then the idea is you'll have an SDK. So specifically use the amplify SDK um to uh pull data from AppSync and it will actually generate out um uh scaffolding uh for your models to be able to send those queries over which is really nice. One thing I want to point out is that AppSync can support real-time APIs via the GraphQL subscription feature um which is cool. Let's just talk about other features about AppSync. So you have two API types. We have GraphQL APIs and merge APIs. The key difference here is merge APIs is just merging a bunch of GraphQL APIs into one. The reason you might want to do this, you have multiple teams. Each team manages their own API, but for the end user, you want a single API for them to access. Uh for data sources, we have Dynamob table, uh Amazon Open Search, uh Adus Lambda Functions, HTTP endpoints, Amazon Event Bridge, uh relational databases. In particular, this is just for RDS HTB endpoints which could also go to Aurora because Aurora is on RDS. We have a few caching options. We have no caching for request caching or per resolver caching. What's interesting about the caching solution here is you actually provision an instance. So you pick an instance type. Uh so it's not serless. It's an ongoing cost. For authorization types, we have API key, AWS AM and cognto user pools. Uh the reason you want authorization is to say who's allowed to access your API. So those are your options there. AppSync supports custom domains which is nice. AppSync has a query editor built into the UI so it's very easy to work on your queries and it has two different runtime resolvers. We have the appsyncjs JavaScript and uh VTL. So I mean I could have gone a lot deeper here with appsync but the thing is that you just need to understand that it is for graph uh graphql APIs and we just need to do a basic lab but it's a great service but again this is all we need to know. So there we go. Hey this is Andrew Brown from Exam Pro and we are comparing virtual machines to containers. So I know we covered this prior but I just want to do it one more time just to make sure that we fundamentally understand the difference before we jump into containers. So the idea is that if you were to request an EC2 instance it has a host operating system that we don't really know much about but we don't really need to know. Uh and then the idea is you have a hypervisor which allows you to deploy virtual machines. And so when you launch an EC2 instance, you're actually launching a VM on top of a hypervisor on a server uh with on uh within the AWS uh data centers servers there. And you're going to choose an operating system. So like Ubuntu and it might come with some pre-installed packages or you're going to install your own libraries, packages, and binaries. And then you're going to decide what kind of workloads you want to run on there. So it could be Django, uh MongoDB, so your database, and some kind of queuing system like Rabbit MQ. the uh difficulties with virtual machines, you're always going to end up with some unused space because you're going to want to have some headroom uh to make sure that uh you know if you know Django needs more memory or or MongoDB needs more storage that you have that room that you can grow into. But the idea is that you're always paying for that even when you're not utilizing it. And so you know that can be uh not as cost effective as you'd like it to be. So when we're looking at um doing this again and we are using containers um instead of the hypervisor we have container virtualization a very common one would be called docker damon for docker of course and so now you're launching containers and so maybe you have alpine and this is for your web app and then you install exactly the libraries packages and binaries you need for that and then for uh MongoDB you want to have a different OS different packages and same thing with rabbit MQ maybe you want to run it on FreeBSD and the idea is that uh you know you're not going to have this waste because it it's kind of changed the sense that these containers are flexible so they can expand or decrease based on the the use case of what they need uh and you know if you use particular services like ads fargate you know you're paying like for running the containers not necessarily uh for uh overprovisioning okay so VMs do not make best use of space apps are not isolated which could cause uh config conflict security problems or resource Hogging containers allow you to run multiple apps which are virtually isolated from each other. Launch new containers. Configure OS dependencies per container. Okay. Hey, this is Andrew Brown from Exam Pro and we are taking a look at the concept of microservices. And to understand microservices, we first need to understand monoliths or monolithic architecture. And the idea here is that we have one app which is responsible for everything and the functionality is tightly coupled. So I'm going to get my pen tool out here and just to highlight notice that there is a server and everything is running on a single server whether it's load balancing caching the database um maybe the marketing website the front-end JavaScript framework the backend with its API uh the uh OM connected to background tasks things like that and that's the idea of a monolith and that's what um a lot of people are used to doing but the idea with micros service architecture is that you have multiple apps which are responsible for one uh one thing and the functionality is isolate and stateless and so just by uh leveraging um various cloud services or bolting it onto your service um you know you are technically using microser architecture so maybe your web app is all hosted um in containers so you have your APIs your or your reports maybe you've abstracted out some particular functions into lambda functions you have your um marketing website hosted on S3 you have your front-end JavaScript hosted on S3 three, you're now using elastic load balancer, uh, elastic cache, RDS, SQS, and that's the idea between monoliths and microservices. Okay, let's take a look here at Kubernetes, which is an open-source container orchestration system for automating, deployment, scaling, and management of containers. It was originally created by Google and now maintained by the cloudnative computing foundation. So the C and CF Kubernetes is commonly called K8. The eight represents the remaining letters for Kubernetes, which is odd because everyone calls it Kubernetes with the S on there, but that's just what it is. The advantage of Kubernetes over Docker is the ability to run containers distributed across multiple VMs. A unique component of Kubernetes are pods. A pod is a group of one or more containers with with shared storage, network resources, and other shared settings. So here is kind of an example where you have your Kubernetes master. It has aulular controller etc. you might be using. It uses an API server to run nodes. Within the nodes we have pods and within the pods we have containers. Kubernetes is ideally for micros service architectures where company has tens to hundreds of services they need to manage. I need to really emphasize that tens to hundreds of services. All right. So, you know, Kubernetes is great, but just understand that it is really designed uh to be used for massive amounts of microservices. If you don't have that need, you might want to look at something just easier to use. Okay. All right. Let's take a look here at Docker, which is a set of platform as a service products that use OS level virtualization to deliver software in packages called containers. So Docker was the earliest popularized open source container platform, meaning there's lots of tutorials. There's a lot of services that uh integrate with Docker or make it really easy to use. And so when people think of containers, they generally think of Docker. There's of course a lot more options out there than Docker to run containers, but this is what people think of. And so we said it's a suite of tools. So the idea is you have this Docker CLI. So these are CLI commands to download, upload, build, run, and debug containers. A Docker file, a configuration file on how to provision a container. Docker compose uh which is a tool and configuration file when working with multiple containers. Docker Swarm, an orchestration tool for managing deployed multicontainer architectures. Docker Hub, a public online repository for containers published by the community for download. And one really interesting thing uh that came out of Docker was the open container initiative OCI which is an open governance structure for creating open industry standards around container formats and runtimes. So Docker established the OC OCI and it is now maintained by the Linux Foundation. And so the idea is that you can write a docker file or or do things very similarly and use different types of um uh technologies that can use containers as long as they're OCI compatible you can use them. So Docker has been losing favor with developers due to their handling of introducing a paid open source model and alternatives like Podman are growing and that's why we're going to talk about Podman next. Okay. So let's take a quick look here at Podman which is a container engine that is OCI compliant and is a dropin replacement for Docker. I just want to get you exposure here because I want you to know about this um and that you can uh use it as opposed to using Docker. Um there are a few differences or advantages that podman has. So podman is damonless where docker uses a containerd damon. Podman allows you to create pods like kubernetes where docker does not have pods. Podman only replaces one part of docker. Podman is is to be used alongside builda and uh scopio. So you know docker is an all-in-one kind of tool. Uh everything is done via a single cli and everything is there. But you know they just wanted to make it more module. And so uh these other tools anytime you say podman it usually means we're talking about podman builda and scopio. So builda is a tool used to build the OCI images and scopio is a tool for moving container images between different types of container stoages. Podman is not going to show up in your exam but you should practically know it um just for your own benefit. Okay let's take a look here at the container services offered on AWS. So we have primary services that actually run containers, provisioning and deployment on you know tooling around provisioning and deployment and supporting services. So the first here is elastic container service ECS. Um and the advantage of this service is that it has no cold starts but it is a self-managed EC2. So that means that you're going to be always paying for the resource as it is running. All right. Then you has ads Fargate. So this is more robust than using Adabus Lambda. It can scale to zero costs. um and it's uh being managed by Adabus manage EC2. However, it does have cold start. So, you know, if you need containers launching really fast, you might be wanting to use ECS. Then you have Elastic Kubernetes Service EKS. This is uh open source. It runs Kubernetes. Um and this is really useful if you want to avoid vendor lock in um which is not really a problem but uh that or it's just you want to run Kubernetes. Then you have Adabus Lambda. So, you only think about the code. Uh it's designed for short running tasks. Uh if you need something that runs longer, you'd want to use uh that is serverless, you'd use ads Fargate, which is serverless containers. You can deploy custom containers. So prior ads lambda just had um pre-built runtimes which were containers, but now you can create any kind of container and uh use that uh on ads lambda for provisioning deployment. You can use elastic bean sock. So um it can uh deploy elastic container service for you um which is very useful there. Now now there's appunner which kind of overlaps on what elastic beantock does but it specializes it specializes for containers um and I believe that it can actually I don't know what it uses underneath because it is a managed service. So elastic beantock is um open you can see what is running underneath and appunner I don't believe you can see what is running underneath it's just taken care of by AWS. Then there's ads uh copilot CLI. So this allows you to build, release, operate productionready containerized applications on apprunner, ECS and ASUS Fargate for supporting services. You have elastic container registry. This is a rep for your containers. Not necessarily just Docker containers, but containers in general, probably OCI compliant containers. X-ray, so analyze and debug between microservices. So you know it's distributed tracing. Then you have step functions. So, stitch together lambdas and ECS tasks to uh create um um a state machine. And the only thing I don't have on here would be, you know, being able to launch an EC2 instance from the marketplace that has um a uh a container runtime installed like Docker. I just don't feel that that's very relevant for for the exam, but it is another option for containers. Not something that people do very often, but there you go. Hey, this is Angie Brown from Exam Pro and we are taking a look here at organizations and accounts. So, Adabus organizations allow the creation of new Adabus accounts. It allows you to centrally manage billing, control access, compliance, security, and share resources across your Adabus accounts. So, here's kind of a bit of a structure of um the architecture of Adabus organizations. And we'll just kind of walk through the components. So, the first thing you have is a root account user. This is a single sign-in identity that has complete access to all adabus services and resources in an account and each account has a root account user. So generally you will have a master or root account and even within that you'll have a root account user and for every additional account that you have you'll notice over here we have a root account user. Then there's the concept of organizational units. Uh these are commonly abbreviated to OUS. So they are a group of adabus accounts within an organization which can contain other organizational units creating a hierarchy. So here is one where we have called starfleet and here's one called federation planets and underneath we have multiple uh accounts. It was accounts within that organizational unit and even though it does not show it here you can create an organizational unit within an organizational unit. Then we have service control policies SCPs and these give uh central control over the allowed permissions for all adabus accounts in your organization helping to ensure your accounts stay within your organization's guidelines. What they're trying to say here is that um there's this concept of adabus IM policies and all you're doing is you're creating a policy that's going to be uh organizational unitwide or organizationalwide or for select accounts. So it's just a way of applying IM policies across multiple accounts. organizations must be turned on and once it's turned on it cannot be turned off. It's generally recommended that you do turn it on um because basically when if you're going to run any kind of serious workload you're going to be using adabus organizations to uh isolate your ads accounts based on workloads. You can create as many ads accounts as you like. One account will be the master or root account. Um, and I say root account here because this is the new language here and some of the documentation still calls it master account. So just understand this is the root account not to be confused with the root account user. So another clarification I want to make is an adus account is not the same as a user account which is another thing that is confusing. So when you sign up for AWS you get um an adabus account and then it creates you a user account which happens to be a root user account. So hopefully that is clear. So adabus control tower helps enterprises quickly set up a secure adabus multi account. It provides you with a baseline environment to get started with a multi-count architecture. So it does this a few uh a few different ways. The first thing is it provides you a landing zone. This is a baseline environment following well architected and best practices to start launching production ready workloads. So imagine you wanted to go have um you know the perfect environment that you know is secure um is correctly configured and has good logging in place. That's what a landing zone is. And so Adabus's landing zone for control tower is going to have SSO enabled by default. So it's very easy to move between IPS accounts. It'll have centralized logging for Adabus cloud trail so that you know they're going to be tamper evident or tamperproof away from your workloads where they can't be affected. It'll have cross account security auditing. Um so yeah, landing zones are really great to have. Then there's the account factory. They used to call this um uh a vending machine, but uh they changed it to account factory. The idea is that it automates provisioning of new accounts in your organization. It standardizes the provisioning of new accounts with pre-approved uh account configuration. You can configure account factory with pre-approved network configuration and region selections. Uh enable self-service for your builders to configure and provision new accounts using ABA service catalog. ADA service catalog is just pre-approved uh workloads uh via cloudformation templates that you created to say okay you're allowed to launch this server or these resources. Um and the third and most important thing that as control tower comes with is guard rails. So these are prepackaged governance rules for security operations compliance that customers can select and apply enterprisewide or to specific groups of accounts. So adabis control tower is the replacement of the retired adabus landing zones. So, if you remember AA's landing zones, which was never a self-s serve, easy thing to sign up for. It required a lot of money and uh stuff to go in there. They just don't really have it anymore. And it was control tower is the new offering um there. Okay. Hey, this is Andrew Brown from Exam Pro and we are taking a look at Adis Config. And to understand config, we need to know what compliance as code is. And to understand compliance as code we need to understand what change management is. So change management in the context of cloud infrastructure is when we have a formal process to monitor changes enforce changes and remediate changes. And compliance is code also known as CAC is when we utilize programming to automate the monitoring enforcing and remediating changes to stay compliant with the compliance program or expected configuration. So what is adabus config? Well, it's a compliances code framework that allows us to manage change in your ID as accounts on a per region basis. Meaning that you have to turn this on for every region that you need it for. And so here is a very simple example where let's say we create a config rule and we have an EC2 instance and we expect it to be in a particular state. And then in the other case, we have a an RDS instance and it's in a state that we do not like. So the idea is that we try to remediate it to put it in a state that we want it to be and those config rules are just powered by lambdas as you can see based on the lambda icon there. So when should you use ads config? Well, this is when I want this resource to stay configured a specific way for compliance. I want to keep track of configuration changes to resources. I want a list of all resources within a region and I want to use uh analyze potential security weaknesses. And you need detailed historical information. So there you go. Hey, this is Andrew Brown from Exam Pro and in this follow along we're going to take a look at Adabus Config. So Adabus config is a tool that allows you to ensure that your services are configured as expected. So I've already activated it in my North Virginia region. So what I'm going to do is just go over to Ohio here uh because it is per region activated. And I'll go over to config and then what we'll have to do is set it up. So there is this one-click setup and it did skip me to the review step because it's kind of piggybacking on the configuration of my original one here. But the idea is that you'll just say uh record all resources in this region or things like that. You'll have to create a service ro link if you have not done so. So this will look a little bit different but here it's using existing one. You'll have to choose a bucket so or create a bucket. Uh it's not super complicated. So you get through there you hit confirm and basically you're going to end up with this. So the inventory um lets you see all the the resources that or not all of them but most resources that are in your adabus account in this particular region. It this will not populate uh right away. So you will have to wait a little bit of time for that to appear. One really nice thing are conformance packs. I really love these things. When first brought these out, there was only like a couple, but now they have tons and tons and tons of conformance packs. So you can go deploy a conformance pack and you can open up the templates. I just want to show you, look at how many they have. So, there's some you might recognize like NIST, uh, CIS, things like that, well architected, uh, stuff. And all these are, um, and I'm not sure if it's easy to open these up, but all these are, if we open them up, they're on GitHub, is these are just cloudformation templates to set up configuration rules. So, there's a variety of suggested rules, uh, like around IM best practices and things like that that we can load in. Um, but the idea is that you're just going to create rules. So, you go here and you add a rule. And they have a bunch of manage rules here um that we can look at, but I think it might be fun to actually run a um a conformance pack. I'll just show you what it looks like to add a rule first. So, let's say we wanted to do something for S3. Um and it was making sure that we are blocking public access. So, we go next here. Generally, you'll have a trigger type you can choose whether it's uh configured when it happens or it's periodic. This is disabled in this case here. And you just scroll on down. Um and then once you've added the rule, what you can do is also manage remediation. So if this rule said, hey, this thing is non-compliant. We want you to take a particular action, you have all these ads actions that you can perform and you can notify the right people to correct it or have it autocorrect if you choose to do so. Um for rules, you can also make your own custom ones. So that's just you providing your own lambda function. So you're providing that lambda ar and so basically you can have it do anything that you want. Whatever you want to put in a lambda you can make ad as config check for. Okay. So it's not super complicated here but um this one here is just going to go ahead and check. And so if we go and reevaluate it might just take some time to show up. It's either going to say that it's compliant or non-compliant. Okay. And I it should be compliant. But while we're waiting for that to happen, let's just see how hard it is to deploy a conformance pack because I feel like that's something that's really important. Oh, you can just drop them down and choose them. That's great. So, we might want to go to AM here. Oops. Identity and access management. And hit next. And say uh my um uh IM best practices. And you might not want to do this because it does have spend. And I want to say spend. It's not going to happen instantly, but the idea is that if you turn this on and forget to remove it. Uh you will see some kind of charges over time because it does check based on the rules. It's not super expensive, but it is something to consider about. Um but anyway, so looks like we created that conformance pack. So if I refresh, it looks like it's in progress. I wonder if that's going to set up a cloud for template. I'm kind of curious about that. So we'll make our way over to cloud for it is. So that's really nice because once that is done, what we can do is just tear it down by deleting the stack. So I'm going to go back over to our conformance pack here. Let's take a look here. And so it still says it's in progress, but it is completed. And we can click into it. And we can see all the things that it's doing. So it says IM groups have user check performance pack. Um, and so it looks like there's a bunch of uh cool rules uh here. So, what we'll do is we'll just wait a little while and we'll come back here and then just see if um this updates and see how compliant we are from a uh a basic account. Okay. All right. So, after waiting a little while there, it looks like some of them are being set. So, I just gave it a hard refresh here. Uh and here you can see that it's saying is root account um whoops. We'll give it a moment here to refresh. But, uh is the root account MFA applied? Yes. Have we done a password policy? No. Oh, and actually I never did a password policy, which is something I forgot to do. But here, they're just talking about the minimums and maximums of things that you can do. Okay, so that's a conformance pack. Um, but if we go to rules, actually, I guess it's all the rules here. I can't really tell the difference between the conformance pack rules and our plane rules. It's kind it's kind of all mixed together here, I think. Yeah. So, it's a bit hard to see what's going on there. If we go to the core performance pack and click in again, it might show the rules. Yeah, there we go. So, here's the rules there. We're seeing a little bit more information. So, use a hardware MFA. So, you know how they're talking about using a security key like what I showed you that I had earlier in the course, things like that. Um, IM password policy, things like that. So, you know, not too complicated, but um I think I'm all done here. So, what I'm going to do is I'm going to go over to Cloudformation and tear that on down. But, you get the idea. Well, I might want to show you a drift. So, there used to be a way It's because I keep changing things on me here, but there's a way to see uh history over time. And so that was something that they used to show. And I'm just trying to like find where they put it because it is like somewhere else. Resources maybe. Ah, resource timeline. Okay, so they moved it over into the resource inventory. And so if we were to take a look at something anything maybe this here resource timeline um and there might not be much here but the idea is it will show you over time how things have changed. So the idea is that not only can you say with it was config is something compliant but when was it compliant and that is something that is really important to know. Okay so very simple example maybe not the best but the idea is that we can see when it was and was not compliant based on uh changes to our stuff. But uh anyway that looks all good to me here. So, I'm going to make my way over to Cloudformation. Actually, I already already have it open over here. We're going to go ahead and delete that stack. Um, termination protection is enabled. You must first disable it. So, we'll edit it, disable it, whatever. Okay, we'll hit delete there. And as that's deleting, I'm going to go look for and config my original rule there. Again, I'm not really worried about it. I don't think it's going to really cost me anything, but uh I might as well just kind of clear the house here just so you're you're okay as well. And so if we go over to our rules, um the one that I spun up that was custom I think was this one here because these are all grayed out, right? So I can go ahead there, delete that rule, type in delete, and we are good. So there you go. That is it. All right. Let's take a look at the concept of tagging within AWS. So a tag is a key and value pair that you can assign to an ads resource. So as you are creating a resource, it's going to prompt you to say, "Hey, what tags do you want to add?" You're going to give a key, you're going to give a value. And so some examples could be something like based on department, the status, the team, the environment, uh the project as we have the example here, the location. Um and so tags allow you to organize your resources in the following way. For resource management, so specific workloads, so you can say you know developer environments, cost management and optimization, so cost tracking, budgets and alerts, operations management, so business commitments, SLA operations, mission critical services, security, so classification of data, security impact, governance and regulatory compliance, automation, workload automation. And so it's important to understand that tagging can be used in junction with um IM policy so that you can restrict access or things like that based on those tags. Okay. All right. I just want to show you one interesting thing about tags. Um and it's just the fact that it's used as the name for some services. So when you go to EC2 and you launch an instance, uh the way you set the name is by giving it a tag called name. And I just want to prove that to you. Just like one of those little exceptions here. So we choose an instance here. We go to configure storage and then what we do is we add a tag and we say name. Um and my server name. Okay. And then we go ahead and review and launch. We're going to launch this. I don't need a key pair. So we'll just say proceed without key pair. I acknowledge. Okay. and we will go view the instances and you'll see that is the name. So, um that's just like one of those exceptions or things that you can do with tags. If there's other things with tags, I have no idea. That's just like a a basic one that everybody should know. And that's why I'm showing to you with the tags. But there you go. So, we just looked at tags. Now, let's see what we can do with resource groups, which are a collection of resources that share one or more tags. Or another way to look at it, it's a way for you to take multiple tags and organize them uh into resource groups. So, it helps you organize and consolidate information based on your project and the resources that you use. Resource groups can display details about a group of resources based on metrics, alarms, configuration settings, and at any time you can modify the settings of your resource groups to change what resources appear. Resource groups appear in the global console header uh which is over here and under the systems manager. So technically it's part of ads simple systems manager or systems manager interface but it's also part of the global interface. So sometimes that's a bit confusing but uh that's where you can find it. Okay. All right. So, what I want to do is explore resource groups and also um tagging. So, what I want you to do is type in resource groups at the top here. And it used to be accessible, not sure where they put it, but it used to be accessible here at the top, but they might have moved it over to systems manager. So, I'm going to go to SSM here. Not sure why I can't seem to find it today. And on the lefth hand side, we're going to look for Resource groups. All right. So, what I want to do is take a look at resource groups. And I'm really surprised because it used to be somewhere in the global now, but I think they might have changed it. Um, and what's also frustrating is if I go over to systems manager, it was over here as well. And so on the lefth hand side, I'm looking for resource groups, it's not showing up. So, I don't know the best. You keep moving things around on me. And I'm I can only update things so quickly in my courses. But if you type in resource groups and tag editor, it's actually over here. Um, I guess it's its own standalone service now. Why they keep changing things, I don't know. But uh the idea is we want to create a resource group. So you can create unlimited single region groups in your AIS account. Use the group to view related insights, things like that. So I'm going to go ahead and create a resource group. You can see it can be tag based or cloud forbased. But I don't have any tags. I don't really have anything tagged. So what I'm going to do is make my way over to S3. We're just going to create some resources or a couple resources here with some tags so that we can do some filtration. So I can go ahead and create a bucket. going to say my bucket uh this like that. Whoops. And then down below I'm going to go down to tags and we're going to say project and we're going to say um RG for resource group. Okay. And then I can go back over here and then I'm going to just say I can say exactly what type I want. I'm going to support all resource types and I'm going to say project RG. You see how it autocompletes? And we'll go down below. We'll just say my RG a test RG. We'll create that. And so now we have a resource group and we can see them all in one place. Uh resource groups are probably useful for using in policies. So I can say say like resource group IM policies. That's probably what they're used for. Okay. So before you use IM managed to access users groups, you should understand IM features, things like that. And so administrators can use JSON policies to specify who has access to what. And so a policy action or resource group is used following the prefix resource groups. So my thought process there is that if you want to say okay you have access to a resource you can just specify a resource group and it will include all the resources within there and so that might be um a better way to apply permissions at a per project basis um and that could save you a lot of time writing out IM policies. So that's basically all there really is to it. Also, you kind of get a an overview of of the um resources that are there. So, that can be kind of useful as well. There's the tag editor here. I can't remember what you use this for. You can set up tag policies. Tag policies help you standardize tags on resource groups in your accounts. Use uh to define tag policies and ads or to attach them to the entire organization. Um we're not in the or accounts, so I'm not going to show you this and it's not that important. Um but just understand that resource groups can be created and they are used within IM policies in order to um uh grant or deny access to stuff. And go ahead and delete that resource group. And really ads, stop moving that on me. If you move it one more time, I'm just never going to talk about resource groups again. Okay. Hey, this is Andrew Brown from Exam Pro and we are taking a look at the cloud adoption framework. So this is a white paper to help you plan your migration from on-remise to AWS. At the highest level, the AWS CAF organizes guidance into six focus areas. We got business people, governance, platform, security and operations. And this white paper is pretty high level. uh so you know it doesn't get into uh granular details on how that migration should work uh but gives you kind of a holistic approach and I believe that probably through the ads uh Amazon partner network there's people that specialize in using this particular framework to help organizations move over and I believe that adus has professional services through the APN but let's just kind of break down what these six categories are not going to go too deep into this um but let's do it so the first is the business perspective so these are business managers finance managers budget owners strategy stakeholders. So it's how to update the staff skills and organizational processes to optimize business value as they move ops to the cloud. You have people perspective. So human resources, staffing, people, managers. So how to update the staff skills and organizational processes to optimize and maintain the workforce and ensure competencies are in place at the appropriate time. You have governance perspective. So CIOS, program managers, project managers, enterprise architects, business analysts. So how to update the staff skills and organizational processes that are necessary to ensure business governance in the cloud and manage uh and measure cloud investments to evaluate the business outcomes. We have platform perspectives. So CTO's, IT managers, solution architects. So how to update the staff skills and organizational processes that are necessary to deliver and optimize cloud solutions and services security perspectives. So CISO, IT security managers, IT security analysts. So how to update the staff skills and organizational processes that are necessary to ensure that the architecture deployed in in the cloud aligns to the organization security control requirements resilience and compliance requirements. We have operational or operations perspective. So IT operations managers, IT support managers. So how to update the staff skills and organizational processes that are necessary to ensure system health and reliability during the move of operations to the cloud and then to operate operate using agile ongoing cloud computing best practices. So this just taps the surface of what the CAF is. Uh and I think for each of these they actually have a more detailed breakdown. So you know business is going to break down to even more uh uh finite things there. Okay. All right. So, we looked at the digital transformation checklist. Now, let's look at the Adabus cloud adoption framework. Notice that there's also the Adabus cloud adoption readiness tool uh which goes along with the framework. In fact, this button here is going to take you to that readiness tool, but we want to look at where the actual um uh white paper is. I mean, there is this nice infographic which is more of a summary um information. You could also uh get the same information from an audio book, but um the real one is the ebook. This is the thing that actually has all the information in great depth. And if we scroll on down, you will see those categories. Uh they should be right here. So these are the ones that we were covering. Um but you just need to have a very high level of it. If you really want to know more, you can read this in great depth, but you really really don't need to. Um and the infographic basically has a very similar summary. So again, it's enough for us to understand. Uh what's interesting is more so the cloud adoption readiness tool. So if we go here and click here, this is going to give you a survey to produce an assessment report. And so this is what the report will look like in the end. Um and with a heat map so you have an idea of what you can do and our radar chart. So a lot of fun stuff. And so if we start our assessment, you can just go through here and checkbox stuff and we get to the end you will be able to for free generate out that assessment report uh up here that button and convince your team or your stakeholders you know why you need to adopt uh cloud. But there you go. Hey, this is Andy Brown from Exam Pro and we're taking a look at businesscentric services. And you might say well why? because in the exam guide it explicitly says that these are not covered. But the thing is is that when you're taking the exam, some of the uh choices might be some of these services as distractors. And if you know what they are, it's going to help make sure that you um uh guess correctly. And the thing is that some of these services are useful and you should know about them. So that's another reason why I'm talking about them here. So the first one is Amazon Connect. This is a virtual call center. You can create workflows to route callers. You can record phone calls, manage a queue of callers based on the same proven system used by Amazon customer service teams. We have workspaces. This is a virtual remote desktop service. Secure managed service for provisioning either Windows or Linux desktops in just a few minutes, which quickly scales up to thousands of desktops. We have workdocs, which is a shared collaboration service, a centralized storage to share content and files. It is similar to Microsoft SharePoint. Think of it as a shared folder where the company has ownership. We have Chime, which is a video conference service. It is similar to Zoom or Skype. You can screen share, have multiple people on the on the same call. It is secure by default and can show you a calendar of upcoming calls. We have workmail. This is a managed business uh email contacts calendar service with support of existing desktop and mobile email client applications that can handle things like IMAP similar to Gmail or Exchange. We have Pinpoint. This is a marketing campaign management service. Pinpoint is for sending targeted emails via SMS, push notifications, voice messages. So you can perform um A2B testing or create journey. So complex email response workflows. We have SCES. This is a transactional email service. You can integrate SCES into your application to send emails. You can create common templates, track open rates, keep track of your reputation. We have Quicksite. This is a business intelligence uh service. connect multiple data sources and quickly visualize data in the form of graphs with little to no knowledge. Definitely you want to remember quicksite, SCES, Pinpoint uh because those definitely will show up in exam. The rest probably not, but they could show up as distractors. Okay. Hey, this is Andrew Brown from Exam Pro and we are taking a look at provisioning services. So let's first define what is provisioning. So provisioning is the allocation or creation of resources and services to a customer and provisioning services are responsible for setting up and managing those ads services. We have a lot of services that do provisioning. Most of them are just using cloud for underneath which we'll mention here. But let's get to it. The first is elastic beantock. This is a platform as a service to easily deploy web apps. EB will provision various services like EC2, S3, SNS, cloudatch, EC2 autoscaling groups, load balancers. uh and you can think of it as the Heroku equivalent to AWS. Then you have ops works. This is a configuration management service that also provides managed instances of open source configuration managed software such as chef and public puppet. So you'll say I want to have a load balancer or I want to have servers and it will provision those for you uh indirectly. Then you have cloudformation itself. This is an infrastructure modeling and provisioning service. It automates the provisioning of adab services by writing cloudformation templates in either JSON or YAML. And this is known as IA or infrastructures of code. You have quick starts. These are pre-made packages that can uh be launched and configure your AOS compute, network storage and other services required to deploy a workload on your device. We do cover this in this course, but quick starts is basically just cloudformation templates that are authored by the community or um by um Amazon partner network. Okay. Then we have AIS marketplace. This is a digital catalog for thousands of software listings of independent software vendors that you can use to find, buy and test and deploy software. So the idea is that um you know you can go there and provision whatever kind of resource you want. We have AIS amplify. This is a mobile web app framework that will provision multiple AOS services as your backend. It's specifically for serverless services. I don't know why I didn't write that in there. Um but you know like Dynamob um things like uh whatever the GraphQL service is called, API gateway, things like that. Uh then we have ads apprunner. This is a fully managed service that makes it easy for developers to quickly deploy containerized web apps and APIs at scale with no prior information experience required. It's basically a platform as a service but for containers. We have a copilot. This is a command line interface that enables customers to quickly launch and manage containerized applications as it basically is a a CLI tool that sets up a bunch of scripts to set up pipelines for you. Makes things super easy. We have adabus code start. This provides a unified user interface enabling you to manage your software development activities in one place. Usually launch common types of stacks like LAMP. Then we have CDK and so this is infrastructure as a code tool. Allows you to use your favorite programming language generates out cloudformation templates as a means of IA. So there you go. Hey, this is Andrew Brown from Exam Pro and we are taking a look at Adus Elastic Beantock. Before we do, let's just define what passes. So platform as a service allows customers to develop, run and manage applications without uh the complexity of building and maintaining the infrastructure typically associated with developing and launching an app. And so Elastic Beantock is a pass for deploying web apps with little to no uh knowledge of the underlying infrastructure so you can focus on writing application code instead of setting up an automated deployment pipeline or DevOps tasks. The idea here is you choose a platform, upload your code and it runs with little uh knowledge of the infrastructure and ads will say that it's generally not recommended for production apps but just understand that they are saying this for enterprises and large companies. If you're a small to medium company, you can run elastic beantock for quite a long time. It'll work out great. Elastic beantock is powered by cloud formation templates and it sets up for you elastic load balancer ASGs RDS EC2 instances preconfigured for particular platforms uh monitoring integration with cloudatch SNS uh deployment strategies like in place blue green uh deployment has security built in so it could rotate out your passwords for your databases and it could run dockerized environments and so when we talk about platforms you can see we have docker multicontainer docker uh Go. Net, Java, Node.js, Ruby, PHP, Python, Tomcat, Go, a bunch of stuff. And just to kind of give you that architectural diagram to show you that it it can launch of multiple things. Okay. Hey, it's Andy Brown from Exam Pro and in this follow along, we're going to learn all about Elastic Beantock. Maybe not everything, but we're going to definitely know how to at least um use the service. So elastic beantock is a platform as a service and what it does is it allows you to uh deploy web applications very easily. So here I've made my way over to elastic beanto an environment and app and then we set up our application. We have two tiers a web server environment a worker environment. Worker environment is great for longunning workloads performing uh background jobs and things like that. And then you have your web server which is your web server and you can have both and it's generally recommended to do so. Um but anyway, what we'll do is create a new application. So I'll say my app here and uh there's some tags we can do and then it will name based on the environment. Then we need to choose an environment name. So I'll say my environment and just put a bunch of numbers in there. Hit the check availability. Scroll on down and we have two options. Manage platform, custom platform, and I'm not sure why custom is blanked out, but it would allow you to um it would allow you to I I think use your own containers. So I'm a big fan of Ruby. So I'm going to drop down to Ruby. And here we have a bunch of different versions. And so 2.7 is pretty pretty new, which is pretty good. And then there's the platform version, which is fine. And the great thing is it comes with a sample application. Now you could hit create environment, but you'd be missing out on a lot if you don't hit this configure more options. I don't know why they put it there. It's not a very good UI, but um if you click here, you actually get to see everything possible. And so up here, we have some presets where we can have a single instance. So this is where it's literally running a single EC2 instance. So it's very cost effective. You can have it with spot uh spot pricing so you save money. Um there's high availability. So you know if you want it set up with a load balancer and autoscaling group it will scale very well or you can do custom configuration. We scroll on down here. You can enable Amazon X-ray. You can rotate out logs. You can do log streaming. Um there's a lot of stuff here. And basically it's just like it sets up most for you, but you can pretty much configure what you want as well. If we had the load balancer set, if I go here, go to high availability now, we'll be able to change our load balancer options. You have different ways of deploying. So you can go here and then change it from all at once, rolling, immutable, traffic splitting, depends on what your use case is. Um, we can set up a key pair to be able to log into the machine. There's a whole variety of things. You can connect your database as well. So it can create the database alongside with it and then it can actually rotate out the key so you don't have to worry about it which is really nice. What I'm going to do is go to the top here and just choose a single instance because I want this to be very cost effective. We're going to go ahead and hit create environment. And so we are just going to wait for that to start up and I'll see you back when it's done. Okay. Okay. So it's been uh quite a while here and it says a few minutes. So if it does do this, what you can do is just give it a hard refresh. I have a feeling that it's already done. Is it done? Yeah, it's already done. So here it says on September 2020, Elastic Beat, etc. Default default, I don't care. Um, but anyway, so this application, I guess it's in a pending state. Um, I'm not sure why. Let's go take a look here. Causes instance has not sent any data since launch. Uh, none of the instances are sending data. So that's kind of interesting because um I shouldn't have any problems. You know what I mean? So what I'm going to do is just reboot this machine and see if that fixes the issue there. But usually it's not that difficult because it's the sample application. It's not up to me um as to how to fix this. You know what I mean? So I'm not sure. But um what we'll do is we will let the machine reboot and see if that makes any difference. Okay. All right. So after rebooting that machine now it looks like the server is healthy. So, it's not all that bad, right? If you do run into issues, that is something that you can do. And so, uh, let's go see if this is actually working. So, at the top here, we have a link. And so, I can just rightclick here. It says, "Congratulations. Your first adus elastic, uh, Beantock Rubin application is now running." So, it's all in good shape. Um, there's a lot of stuff that's going on here in Elastic Beantock that we can do. Uh, we can go back to our configuration and change any of our options here. So there's a lot of stuff as you can see. Uh we get logging. Uh so click the request log. So if we click on this and say last 100 lines we should be able to get uh logging data. We have to download it. I wish it was kind of in line but here you can kind of see what's going on. So we have SD access logs error logs puma logs. Elastic beantock engine. So you could use that to debug. Very common to take that over to uh support if you do have issues. uh for health, it monitors the health of the instances, which is great. Then we have some uh monitoring uh data here. So it gives you uh like a built dashboard. So that's kind of nice. You can set up alarms. Um you have not defined any alarms. You can add them via the monitoring dashboard. So I guess you'd have to you'd have to somehow add them. Um I don't think I've ever added alarms for um Elastic Beantock, but it's nice to know that they have them. You can set up schedules for managed events. Then this is event data. So it's just kind of telling you, it's kind of like logs and it just tells you of things that have changed. So there's stuff like that. What I'm looking for is to see how I can download the existing application because there's a version uploaded here. Oh, the source is over here. Okay. So I think it's probably over here, the one that's running. Is that it? If it was easy to find, what I probably would do is just modify it and Oh, yeah. It's over here. So, if we go here and download the zip, I wonder if it'd be even worth um playing with this. So, let's I'm just going to see if we can go over to Cloud9 and give this a go quickly. So, if we go over and launch a Cloud9 environment, maybe we can tweak it and upload a revised version. So, we'll go say create new. We'll say EB um uh environment for elastic beantock. We'll set it all the defaults. That's all fine. It's all within the free tier. We'll create that environment. What I'm going to do is just take this uh Ruby zip file and move it to my desktop. And as that is loading, we'll give it a moment here. I'm just going to go back and I was just curious, does it let you download it directly from here? No. So the only thing is that you know if you download that application Alaskan Beantock usually has a configuration file with it and so I don't know if they would have given that to us but if they did that would be really great but we just have to wait for that to uh launch there as well. I guess you can save configurations and roll back on those as well. Um but we will just wait a moment here while it's going. I might just peek inside of this file to see what it is this zip contains. Just going to go to my desktop here. Open up that zip. So, it looks pretty simple. It doesn't even look like a Rails app. It looks like maybe it's a Sinatra app. I thought before that it would it would have deployed a Ruby on Rails application, but maybe they keep it really simple. Um, I don't see usually it's like YAML files they use for configuration. I don't see that there. So it might be that the default settings will work fine. Uh there's a config.ru and stuff like that. But once Cloud9 is up here, we will upload this and see what we can do with it. Okay, so there we go. Uh Cloud9 is ready to go. And so if we right click here, whoops. Right click here, we should be up be able to upload a file. If not, we can go up here to the top or it's here or there. Where is the upload? I' I've uploaded things in here, so I absolutely know we can. I just got to find it. Is that the upload? Upload files. Cloud9. Oh boy, that's not helpful. That's not helpful at all. So, let me just click around a little bit here. I mean, worst case, I can always just bring it in via a curl. Oh, upload local files. There it is. I was just not um being patient. Okay, so we'll drag that on in there and we will Did it upload? Yep, it's right there. Okay, great. And so we need to unzip it. So what I'll do is just drag this on up here. I'll do an ls and we'll say unzip ruby.zip. And so that unzipped the contents there. I think the readme was part of cloud9. So I'm going to go ahead and delete that out. Not that it's going to hurt anything. And so now what we can do, we'll delete the original original zip there. Um, and let's see if we can make a change here. So I'm just going to open up, see what it is. So it's yeah, it's running Sinatra. So that's pretty clear there. We have a proc file to say how it runs. We have a worker sample, so that just tells how the requests go. You don't need to know any of this. I'm just kind of clicking through it because I know Ruby very well. We have a cron YAML file, so that could be something that gets loaded in here. So I think basically a Sinatra app probably just works off the bat here. But if we want to make a change, we probably just make a change over to here. So I'll go down here and this is your second AWS elastic bean sock application. So the next thing we need to do is actually zip the contents here. I don't know if it would let us zip it within here, but I'll have to look like zip the contents of a directory Linux. just goes to show Google is everything. So, the easiest way to zip a folder um zip everything in the current directory Linux. Okay, that's easy. So we'll go back over here and we will type in zip and it wants hyphen r for recursive which makes sense and then the name of the zip. So um uh ruby2.zip and we'll do period zip warning found is who is zip? Oh. Uh, yum install zip. Maybe we have to install uh zip, but maybe it's not installed. Pseudo yum install zip since it's Amazon too. It uses yum. And so package already installed. So I'm going to type zip again. So zip is there now. Great. Oops. Don't need to install twice. Zip warning. Ruby 2zip not found or empty. Okay. So, install zip and use zip hyphen R. You can use the flag to best compensate. So, if that's not working, what I'm going to do is just go up a directory. Why is it saying not found or empty? Maybe I need to use Okay, so I think the problem was is I was using the wrong flag. So I put F instead of R. I don't know why I did that. So I probably should have done this. Okay. And so that should have copied all the contents of that file. So what I'm going to do is go ahead. Whoops. Make sure I have that selected and download that file. And once I have downloaded that file, I'm going to just open the contents to make sure it is what I expect it to be. So we're going to open that up. And whoops, get out of here. Winar. And it looks like everything I want. So what I'm going to do is go back over to here. I'm going to make sure I have my Ruby 2 on my desktop. and we're going to see if we can upload another version here. So, upload and deploy. Choose the file. We're going to go all the way to my desktop here and we're going to choose Ruby 2 and um like Ruby 2 will be the version name or we'll just say two and we'll deploy and we'll see if that works. Okay, but there are like elastic beans configuration files like YAML files that can sit in the root directory and so generally you're used to seeing them there. But you know, I imagine that Adus probably engineered these examples so that it uses all the default settings. But uh once this is deployed, I'll see you back here in a moment. Okay, after a short little wait, it looks like it has deployed. So what I'm going to do is just close my other tabs here and open this up and see if it's worked. It says your second ads elastic being stock ruby application. So uh we were successful, uh deploying that out, which is really great. So what we can do now is just close that tab there. And uh since we have that cloud9 environment, it will shut down on its own. But you know, just for your benefit, I think that we should shut it off right now. So go ahead and delete that. I'm going to go back over to Elastic Beantock here. And I just want to destroy all of it. So we'll see if we can just do that from here. Terminate the application. Enter the name. So I think we probably have to enter that in there. And so I think that Oh, a problem occurred. Rate exceeded what? That's AWS for you. So, it's not a big deal. I would just go and check it again. And maybe what we'll do is just delete the application first. Okay. So, that one is possibly deleting. Let's go in here. Is anything changing? Can't even tell. We'll go ahead. Oh, can't take that one out. Delete application. Again, if it takes you a couple times, it's not a big deal. It's AWS for you, so there's a lot of moving parts. So it looks like it is terminating the instance and so we just have to wait for that to complete. Uh once that is done, we might have to just tear down the environment. So I'll see you back here when it has finished tearing this down. Okay. All right. And so after a short little wait here, I think it's been destroyed. We'll just double check by going to the applications, going to the environments. Yeah, and it's all gone. Probably because I initially deleted that environment and then took the application with it. So I probably didn't have to delete the app separately. Um but uh yeah, so there you go. Just make sure your Cloud 9 environment is gone and you are a-ok. Okay. There'll probably be some like lingering S3 buckets. So, if you do want to get rid of those, you can. It's not going to hurt anything having those around. Uh, but they do tend to stack up after a while, which is kind of annoying. So, if you don't like them, you can just empty them out as I am doing here. Whoops. Oh, just permanently delete. Copy that text there. We can go back. to here and then just go take out that bucket. Let's delete that there. Oh, and if you get this, this is kind of annoying, but uh Elastic Beantock likes to put in an IM permission or policy in here. So, if you go down here, there's a bucket policy. You just have to delete it out. It prevents it from being deleted. And we'll go back over here and then we will delete it. Okay. And yeah, there we go. That's it. So, let's take a look at serverless services on AWS. And this is not including all of them because we're looking at the most purely serverless services. Uh if we tried to include all the serverless services, it would just be too long of a list. Uh but let's take a look here. So, um before we do, let's just redefine what is serverless. So when the underlying servers, infrastructure and operating system is taken care of by the CSP, serverless is generally by default highly available, scalable, cost-ffective. You pay for what you use. The first one is Dynamob, which is a serverless NoSQL key value and document database. It's designed to scale to billions of records. We guarantee consistent data returned in at least a second. You do not have to worry about managing shards. You have simple storage service S3, which is a serverless object storage service. You can upload very large and unlimited amounts of files. You can pay for what you store. You don't worry about the underlying file system or upgrading the disk size. We have ECS Fargate which is a serverless orchestration container service. Is the same as ECS except you pay on demand per running container. With ECS you have to keep a EC2 server running even if you have no containers running where Adabus manages the underlying server. So you don't have to scale or upgrade the EC2 server. We have Adabus Lambda which is a serverless function service. You can run code without provisioning or managing servers. You upload a small piece of code. Choose uh how much memory you want, how long you want the function is allowed to run before timing out. You're charged based on the runtime of the service function rounded to the nearest 100 milliseconds. We have step functions. This is the state machine service. It coordinates multiple services into serverless workflows. Easily share data among lambdas. have a group of lambdas wait for each other create logical steps also work with Fargate tasks we have Aurora serverless this is a serverless on demand version of Aurora so when you want most of the benefits of Aurora but uh trade you have to trade off those cold starts or you don't have lots of traffic or demand so things serless services that we could have put in here as well is like API gateway apps sync ads amplify um and those are like the the first two were application integrations you could say SQS SNS those are all serverless services but you know again we'd be here all day if I I n I listed them all right let's take a look at what is serverless and we did look at it from a server perspective earlier in the course but let's just try to abstractly define it and talk about the architecture so serverless architecture generally describes fully managed cloud services and the classification of a cloud service being serverless is not a boolean main answer. It's it's not a yes or a no, but an answer on a scale where a cloud service has a degree of serverless. And I do have to point out that this definition might not be accepted by um everybody because serverless is one of those uh terms where um we've had a bunch of different cloud service providers define it differently. And then we have thought leaders that have a particular concept of what it is. So, you know, I just do my best to try to make this practical here for you. But a serverless service could have all or most of the following characteristics. And so it could be highly elastic and scalable, highly available, highly durable, secure by default. It abstracts away the underlying infrastructure and our build based on the execution of your business tasks. A lot of times that uh that cost is not uh is not always represented as something that is like I'm paying X for compute. it could be abstracted out into some kind of um credit that uh doesn't necessarily map to something physical. Then we have serverless can scale to zero, meaning when it's not in use, the serverless resources cost nothing. Uh and these two last topics basically pull into pay for value. So you don't pay for idle servers. You're paying for the value uh that your service provides. And uh my friend Daniel who runs the serless Toronto group, he likes to describe serless as being similar to like energy efficient rating. So an analogy of serless could be similar to energy rating labels which allows consumers to compare the energy efficiency of a product. So some services are more serless than others. And again, you know, some people might not agree with that where there's a a definitive yes or no answer, but I think that's the best way to look at it. Okay. Hey, it's Andy Brown from Exam Pro and we're taking a look at Windows on Adabus. So, Adabus has multiple cloud services and tools to make it easy for you to run Window workloads on Adabus. So, let's get to it. So, the first is Windows Servers on EC2. So, you can select from a number of Windows Server versions including the latest version uh like Windows Server 2019. Uh for uh databases, we have SQL Server on RDS. You can select from a number of SQL Server database versions. Then we have adabus directory service which lets you run Microsoft active directory ad as a managed service. We have adabus license manager which makes it easier to manage your software licenses from software vendors such as Microsoft. We have Amazon FSX for Windows file server which is a fully managed scalable storage built for Windows. We have the Adabus SDK which allows you to write code in your favorite language to interact with Adabus API but it specifically has support fornet a language favorite for Windows developers. We have Amazon Workspaces. So this allows you to run a virtual desktop. You can launch a Windows 10 desktop to provide secure and durable workstations that is accessible from wherever you have an internet connection. Lambda supports PowerShell as a programming language to write your serverless functions. And we have ads migration acceleration program. MAP for Windows is a migration methodology for moving large enterprises. ADS has Amazon partners that specialize in providing professional services for map. This is not just everything for Windows on AWS. Like if you want to move your SQL server over to RDS Postgress, I believe they've like they created an adapter to do that. Um but yeah, hopefully that gives you an idea what you can do with Windows on AWS. Okay. Hey, this is Andrew Brown from Exam Pro and I want to show you how you can launch a Windows uh server on AWS. So, what you're going to do is go to the top here and we are going to type in EC2. And from here, uh what we'll do is we'll go ahead and launch ourselves a new EC2 instance. And we are going to have um a selection of instances that we can launch. And so we're looking for the Microsoft Windows uh server. And this is interesting. There's actually a free tier eligible. That is crazy because if you go over to Azure, they don't have a free tier Windows server in AWS does. So that's pretty crazy. Um and it runs on a T2 Micro. No, that can't be right. There's no way it could run in T2 Micro. That seems like that's too small. Let's try it. Okay. Okay. I just don't believe it because when you use Azure, you have to choose a particular size of instance by default and it's a lot more expensive and there is no free tier. So, we'll go here. There are free tiers just not really for Windows in particular. So, we'll go here. This looks good. Security groups. This opens up RDP. So, we can get into that machine. We're going to go next here and launch this machine. Says if you plan to use AMI, the benefits the Microsoft license mobility, check out this form. That's not something we're worried about today. And I mean, I guess we can create a key pair. I'm not sure what we would use a key pair for here. Um, for Windows AMIs, the private key file is required to obtain the password used to log into the instance. Okay, so I guess we're going to need it. So, Windows key. Great. We'll launch that instance and uh I'll see you back here when it launches. But I just don't believe that it would launch that fast, you know. All right. So, after a short little wait here, the server is ready. And so, let's see if we can actually go ahead and connect to this. So, I'm going to hit connect here and we're going to go over to RDB client. So, you connect to your Windows instance using a remote desktop client of your choice and downloading and running the RDB shortcut below. So, I'm going to go ahead and download this. And you're going to have to be on a um Windows machine to be able to do this or have an RDB client installed. I think there's one for Mac that you can get from the Apple Store. Um, but all I'm going to do is just double click the file. So, you probably can't see it here. I'm just going to expand this. Try to Oh, my computer is being silly, but anyway, there we go. We moved it over there. And I'm just going to drag over here and just double click this image so you can see that I'm doing it. I'm saying connect. Okay. And then it's going to ask for a password. So, I'm going to hope that I can just click that and get the password. So to decrypt the password, you will need your key pair instance. You'll have to upload that. And I don't know if I remember having to do that before, but it's a great security measure. So I'm fine with it. I'm going to drag my key to my desktop so I can see what's going on there as well. And we're going to go grab that and decrypt the password. And so now, um, where's our password? Oh, it's right here. Okay. So we're going to grab that password. there. We will paste that in. Said okay. Say yes and see if we can connect to this instance. And if this is running on a T2 micro, I'm going to lose it because that is just cheap. It just just doesn't seem possible to me because again on Azure you have to launch an instance with a lot of stuff and it just uh seems uh crazy. What's also interesting is that Adabus uh on Windows like launches so fast. It's unbelievable how fast these servers uh spin up and it's just very unusual. But yeah, so we are in here. Um it's not asking me to activate or anything. So I guess there's already a Windows license here. And um I'm not sure if there's any kind of like games installed. Like do we have Mind Sweeper? Can I play Mind Sweeper on here? It's a data center server, so I'm assuming not. Um, but yeah, so this is a Windows server and it's pretty impressive that this works. I'm not sure if this is going to have an outbound connection here. Um, just because we probably would have to configure it. Just say okay. I just I really don't think it's going to go out to the internet by default. Yeah. ly you'd probably have to do some stuff, you know. Oh, no. There we go. So, yeah, we got to the internet. So, it's totally possible. But, uh, yeah, that's about it. That's all I really wanted to show you. So, what I'm going to do is just go back to EC2 and we're going to shut down the server here. Just expand that there. And we will go here and we will terminate that instance. Good. We'll give that a refresh. That's shutting down and we are done. Hey, this is Andrew Brown from Exam Pro and we are taking a look at AIS license manager. And before we do, let's talk about what by YOL or bring your own license means. So, this is the process of reusing an existing software license to run vendor software on a cloud vendor's computing service. B YOL allows companies to save money since they may have purchased the license in bulk or the time that provided a greater discount than if purchased again. And so an example of this could be the license mobility provided by Microsoft's volume licensing to customers with eligible server applications covered by the Microsoft software assurance program. Uh and I don't know what I was trying to do there. I guess maybe it's just SA and I missed the parenthesis there on the end. No big big deal. Um but license manager is a service that makes it easier for you to manage your software licenses from software vendors centrally across ads in your on- premise environments. license manager software uh that is licensed based on virtual cores uh physical cores sockets or a number of machines. This includes a variety of software products for Microsoft, IBM, SAP, Oracle and other vendors. So that's the idea. You say what is my license type? It's it's bound to this amount of CPUs. Database license manager works with EC2 with dedicated instances, dedicated host, and even spot instances. And for RDS, there's only for Oracle databases. So, you can import that license for your Oracle server. Um, just understand that um if you're doing Microsoft Windows Servers or Microsoft SQL Server license, you're generally going to need a dedicated host because of the assurance program. Uh, and this can really show up on your exam. So even though a license manager works on dedicated instances and spot instances just try to gravitate towards dedicated hosts on the server or on the exam. Okay. All right. Let's take a look at the logging services that we have available in AWS. So the first one here is cloud trail and this logs all API calls whether it's SDK or the CLI. So if it's making a call to the API, it's going to get tracked between adabus services. And this is really useful to say who can we blame? Who was the person that did this? So who created this bucket? Who spun up that expensive EC2 instance? Who launched the SageMaker notebook? Um and the idea here is you can detect developer misconfigurations, detect malicious actors or automate responses through the system. Then you have cloudatch which is a collection of multiple services. I commonly say this is like an umbrella service because it has so many things underneath it. So we have cloudatch logs which is a centralized place to store your cloud services log data and application logs. Metrics which represents a timeordered set of data points a variable uh to monitor. Uh event bridge or previously known as cloudatch events triggers an event based on a condition. So every hour take a snapshot of the server alarms triggers notifications based on metrics. Dashboards creates visualizations based on metrics. And that's not all of the things that are under cloudatch but those are the core five ones you should always know. Um, absolutely there. Then we have Adabus X-ray. This is for distributed tracing system. So you can use it to pinpoint issues within your microservices. So you see how data moves from one app to another, how long it took to move and if it failed uh to move forward. Okay, let's take a closer look here at Abis Cloud Trail because it's a very important service. So it's a service that enables governance, compliance, operational auditing, and risk auditing of your ABS account. And the idea is that every time you make an API call, it's going to show up as some kind of structured data that you can uh interact with or read through. So cloud trail is used to monitor API calls and actions made on the account. Easily identify which users and accounts made the call to AWS. So you might have the where, so the source IP address, the when, the event time, the who, the user agent, uh, and the what, the region, resource, and action. So I'm just going to get my pen tool out here for a moment and just notice you have the event time. So when it happened, the source, the name, the region, the source IP address, the user agent, uh who was doing it. So here was Leforge, the response element. So you know it's very clear what is going on here. Um and then you know cloud trail is already logging by default and will collect logs for the uh for the last 90 days via event history. If you need more than 90 days, you need to create a trail which is very common. You'll go into AWS and make one right away. Trails are outputed to S3 and do not have guey like event history. To analyze a trail, you have to use Amazon Athena. And I'm sure there are other ways to analyze it within AWS, but here's just what the event history looks like. So, right off the bat, you can already see that there are information there. I'm not sure if they've updated the UI there. They might have uh as even when I'm recording this, I kind of feel like if we go into the follow along, which we will, um I bet they might have updated that. But the idea here is that, you know, you can browse the last 90 days, but anything outside of that, you're going to have to do a little bit of work yourself. Okay. So, we're not going to cover all the Cloudatch services. There's just too many. But let's look at the most important ones. And one of that those important ones is Cloudatch alarms. So, Cloudatch alarms monitors a Cloudatch metric based on a defined threshold. Uh so, here you can see there's kind of a condition being set there. So, if the networking is greater than 300 for one data point within 5 minutes, it's going to breach an alarm. So, uh that's when it goes outside its defined threshold. And so the state's going to either be something like okay so the metric or expression is within the defined threshold so do nothing alarm the metric or expression is outside of the defined threshold so do something or insufficient data the alarm has just started the metric is not available not enough data is available and so when the state has changed you can define actions that it should take and so that could be doing a notification autoscaling group or any C2 action um so cloudwatch alarms are really useful for a variety of reasons the one that we will come across right away will be setting up building alarm. So let's take a look here at the autonomy of an alarm. And so I have this nice graphic here to kind of explain that there. And so the first thing is we have our threshold condition. Uh and so here you can just set a value and say okay the value is a thousand or 100 whatever you want it to be. And this is going to be for a particular metric the actual data we are measuring. So maybe in this case we're measuring network in so the volume of incoming network traffic measured in bytes. So when using five minute monitoring divide by 300 we get bytes per second if you're trying to figure out that calculation there. You have data points. So these represent the metrics measurement at a given point. Then you have the period how often it checks to evaluate the alarm. So we could say every five minutes. Uh you have the evaluation period. So the number of previous periods and the data points to alarm. So you can say one data point is breached in evaluation period going back four periods. So this is what triggers the alarm. Uh the thing I just want you to know is that you can set a value right and that it's based on a particular metric and there is a bit of logic here in terms of uh the alarm. So it's not as simple as just it's breached but there's this period thing happening. Okay let's take a look at cloudatch logs. So to understand that we have log streams and log groups. So a log stream is uh a stream that represents a sequence of events from an application or instance being monitored. So imagine you have an EC2 instance running a web application and you want those logs to be streamed to cloudatch logs. That's what we're talking about here. So you can create log streams manually. Uh but generally this is automatically done by the service you are using. Uh unless you were collecting application logs on an EC2 instance as I just described here is a log group of a lambda function. You can see the log streams are named after the running instance. Lambda's uh frequency run on new instances. So the stream contains timestamps. So what I'm trying to say here is that there's a variety of different services. Lambda, RDS, what have you. And they already send their logs to Cloudatch logs and they're and they're going to vary. Okay, so here's a log group of an application log running on EC2. You can see here the log streams are named after the running instance ID. Here is the log group for Adabus Glue. You can see that the log streams are named after the glue jobs. Um, and so you know we have the streams, but let's talk about the actual data that's made up of it. The log events. So this represents a single event in a log file. Log events can be seen within the log stream. And so here's an example of you would open this up in Cloudatch logs. And you can actually see what what was being reported back by your server. It can filter these events to filter out uh logs based on simple or pattern matching uh syntax. So here I'm just typing in saying give me all those debug stuff. And you know this isn't very robust, but Adabus does have a better way of analyzing your logs which is log insights which we'll look at here in a moment. So, you were just looking at uh Cloudatch log events and how those are collected. But there's an easier way to analyze them and that's with log insights. So, you can interactively search and analyze your Cloudatch log data and it has the following advantages. More robust filtering than using the simple filter in the in a log stream. Less burdensome than having to export logs to S3 and analyze them via Athena. Cloudatch log insight supports all types of logs. So Cloudatch log insights is commonly used via the console to do ad hoc queries against log groups. So that's just kind of an example of someone writing a query and cloudatch log insights uses a query syntax. So a single request can query up to 20 logs. Query timeout after 50 minutes if not completed and queries result are available for 7 days. So as provides sample queries that you can get started for common tasks and uh and ease the learning into the query syntax. A good example is filtering VPC flow logs. So you go there, you click it, and you start to getting some data. You can create and save your own queries uh to make future repetitive tasks easier on the certified cloud partitioner. They're not going to ask you all these details about this stuff, but I just conceptually want you to understand that in log insights, you can use it to uh robustly filter your logs based on this query syntax language. You get this kind of visual and it's really really useful. Let's take a look here at cloudatch metrics which represents a timeordered set of data points. It's a variable that is monitored over time. So cloudatch comes with many predefined metrics that are generally named spaced by adabus services. Uh so the idea is that like if we were to look at the EC2 it has these particular metrices so that we have CPU utilization disc read ops disc write ops disc read bytes disc write bytes network in network out network packet in uh network packets out. And the idea is that you can just like click there into EC2 and then kind of get that data there. And so cloud metrics are leveraged by other things like cloudatch events, cloudatch alarms, cloudatch dashboards. So just understand that. Okay. All right. So what I want to do in this follow along is show you a bit about cloud trail. So we're going to go to the top here and type in cloud trail. The great thing about cloud trail is it's already turned on by default. So, it's already kind of collecting some information. And so, it's here it says now use IM access analyzer on cloud trails. That sounds pretty cool to me, but uh we shouldn't have to create a trail right off the bat because we'll have some event history. And the event history allows us to see things that are happening within our account in the last 90 days. Um but the thing is if you want something beyond 90 days, you're going to have to create a trail. Uh but if we just take a look here, we can kind of see as we've been doing a lot of things all the kind of actions that's been happening. So, here we have an instance that I terminated. So if I go in here and and look at it, I can kind of see uh more information about it. So we can see when it terminated, who had done that, what access key they had used, the event source, the request ID, um the source IP, what whether it was readonly, what was the event type that was called, the resource there, and this is the actual raw record. So this is generally how I would look at it, or this is how you had to look at it back in the day. Um but the idea is that you would have that uh user identity described the event time, the source, the event name, the region, the source IP, the uh the agent, all the information there. Okay. And so this is a great way to kind of find stuff. So you can go through here and try to debug things this way. So you can go to the event name. And so if you if you go here, you can kind of get uh see a bit of stuff here. So if I was just trying to say like maybe create I'm just trying to find something that I know that I've been doing like create access keys. I can see the access keys that have been going be created within this uh sandbox account here for the user and things like that. So, it's a great way to kind of find things, but generally you're going to always want to turn on uh or create your own trail. So, if you go here and hit create trail, say my new trail and um you're going to need an S3 bucket for that. You'll probably want encryption turned on, which sounds good to me. You'll absolutely want log file validation. And generally you don't want to store your your cloud trail logs within the existing account. You want to have a isolated hardened account that's that is uh infrequently accessed or only by your your cloud security engineers um away from here because you don't want people tampering with it, deleting it or changing stuff. But um let's take an existing one here. I don't want a customer managed. Don't I have one that is managed by AWS here? new custom. Um, we'll just choose that one. I don't know which one that is. We'll just hit next. Usually, Adabus gives you a managed key there. So, I was kind of surprised. Um, you can also include additional data. So, if you do data events, this would collect information from S3. Um, but the thing is you might not want to track everything because if you track everything, it can get very expensive very quickly. Uh, but if you don't, you just leave on management events. It'll save you more money. There's inside events. Uh, this is new. I haven't seen this yet. So identify unusual activity errors, users of behavior. That sounds really good, but these could come also add additional charges, but I'm going to hit next anyway for fun. I'm going to create that trail. Okay. And uh the key policy does not grant sufficient access to etc., etc. So I'm going to go turn that off even though I should really have it turned on, but I just want to be able to show you this. Okay. And so we have this new trail. And so this trail is being dumped to S3. So we might not be able to see anything in here as of yet, but I'm just going to pop over here and just see. Right. I probably have one in my other account, but it's not um it's not that important. We basically saw what the data would look like. So we go into here. There's a digest. I don't remember there being a digest, so that's nice. So there's no data yet, but when there is, it will pop into there. Um, I'm not sure if we're going to be able to do anything with insights here, at least not in this account. Insights are events that are show unusual API activity and things like that. So, that's kind of cool. I don't know what Cloudatch Insights looks like. Uh, insight events are shown in the table for 90 days. Okay. So, I'm just curious if we can see kind of a screenshot of what that looks like. Whoops. Well, at least on the article here. So, I guess you could kind of get like some kind of graphs or something saying like, "Hey, this looks unusual." And they might select it. So, not pretty clear in terms of what that looks like, but I mean, sounds like a cool feature. And I'm sure when I I'm working on my uh security certification course, I will definitely include it there. But that's pretty much all there is to it. Um, I'm going to go ahead and delete um that trail because I I just don't really need it in this account. But uh generally you always want to go in and create a trail. Um and what you can do is if you're in your root account, I'm not this is actually a an account that's part of an organization. But if you're at that organization level, you can create a trail that that spans all the regions that spans all the accounts within organization. And that's what you should be doing. Okay. But uh that's about it. Hey, this is Andrew Brown from Exam Pro. We're looking at ML and AI services on AWS. But let's first just define what is AI, ML, and deep learning. So AI, also known as artificial intelligence, is when machines that perform jobs that mimic human behavior. ML or machine learning are machines that get better at a task without explicit programming. And deep learning or DL are machines that are have an artificial neural network inspired by the human brain to solve complex problems. And a lot of times you'll see this kind of onion where they're showing you that um you know AI can be using ML or deep learning and then deep learning is definitely using machine learning but it's using neural networks. And so for AWS their flagship product here is Amazon SageMaker. It is a fully managed service to build, train, deploy machine learning models at scale. Um and there's a bunch of different kind of open source frameworks you can use with it like Apache MXNet on AWS which is an open- source deep learning framework. that is the one that decided to say hey we are going to back this one and so you'll see a lot of example code for that one we have TensorFlow that you can use PyTorch uh hugging face other things as well okay um and so there's a lot of uh services underneath some that might be of interest to mention right away is like Amazon SageMaker ground truth which is a data labeling service where you have humans that label a data set that will be used to train machine learning models or maybe something like Amazon uh aug Augmented AI, so human intervention review services when SageMaker uses machine learning to make a prediction that is not confident uh and it has the right answer cue up to the predict for a human review. And these are all about just labeling data um you know when you're using supervised um supervised learning but there are a lot of services under SageMaker itself and just AI services in general. So we'll look at that next. Okay. All right. Let's take a look at all the ML and AI services and there's a lot on AWS. So the first is Amazon code guru. This is a machine learning code analysis service and code guru performs code reviews and will suggest to improve the code quality of your code. It can show visual code profiles so show the internals of your code to pinpoint performance. Next we have Amazon Lex. This is a conversation interface service. With Lex you can build voice and text chat bots. We have Amazon Personalize. This is a real-time recommendation service. It's the same technology used to make product recommendations to customers shopping on the Amazon platform. Then we have Amazon Poly. This is a texttospech service. Upload your text and an audio file spoken by syn synthesized voice. Uh and that will be generated. You have Amazon recognition. This is an image and video recognition service. Uh analyze image and videos to detect and label objects, peoples and celebrities. Then we have Amazon transcribe. This is a speechto text service. So you upload your audio and that'll be converted into text. We have Amazon text extract. This is an OCR tool. So it extracts text from scanned documents. When you have uh paper forms and you want to digitally extract that data, you have Amazon translate. This is a neural machine learning translation service. So use deep learning modu models to deliver more accurate and natural sounding translations. We have Amazon comprehend. This is an NLP. So natural language processing service find relationships between text to produce insights looks at data such as customer email support tickets, social media and makes predictions. Then we have Amazon forecasts. This is a time series forecasting service and it's you know uh I mean technically I guess it's a bit of a database but the idea here is that it can forecast business outcomes such as product demand, resource needs or financial uh performance and it's powered by ML or AI if you want to call it. We have AWS deep learning AMI. So these are Amazon EC2 instances. They're pre-installed with popular deep learning frameworks and interfaces such as TensorFlow, PyTorch, Apache, MXNet, Chainer, Glu, uh, Gluon, uh, Horova, and Kiraz. We have Adabus deep learning containers. So, Docker images instances pre-installed with popular deep learning frameworks and interfaces such as TensorFlow, PyTorch, Apache, MXNet. Uh, we have Adabus Decomposer. This is machine learning enabled musical keyboard. Uh I don't know many people using this but it sounds like fun. Advis deep lens is a video camera that uses deep learning. It's more of like a learning tool. So again we don't see many people using this. Advis deepraer is a toy race car that can be powered with machine learning to perform autonomous driving. Again this is another learning tool for learning ML. They like to do these at reinvent to have like these racing competitions. Uh Amazon elastic interface. So this allows you to attach lowcost GPU performed uh powered acceleration to EC2 instances to reduce the cost of running deep learning interfaces by 75%. We have Amazon fraud detector. So this is a fully managed fraud detection uh as a service. Uh it identifies potentially fraudulent uh online activities such as online payment fraud and the creation of fake accounts. Amazon Kendra. So this is an enterprise machine learning uh search engine service. It uses natural language to suggest answers to questions instead of just simple keyword matching. So there you go. Hey, it's Andrew Brown from Exam Pro and we're going to do a quick review here of the big data and analytic services that are on AWS. But before we do, let's just define what big data is. So it's a term used to describe massive volumes of structured or unstructured data that is so large it is difficult to move and process using traditional database and software techniques. So the first here we have is Amazon Athena. This is a serverless interactive query service. It can take a bunch of CSV or JSON files in an S3 bucket and load them into a temporary SQL table. And so you can run SQL queries. So it's when you want to query CSV or JSON files. If you have ever heard of um Apache Presto, it's basically that. Okay. Then we have Amazon Cloud Search. So this is a fully managed full text search service. So when you want to add search to your website, we have Amazon Elastic Search um commonly abbreviated to ES. And this is a managed elastic search cluster. And Elastic Search is an open-source full text search engine. It is more robust than cloud search but requires more server and operational maintenance. Then we have Amazon elastic map produce commonly known as EMR and this is for data processing and analysis. It can be used for creating reports just like Redshift but is more suited when you need to transform unstructured data into structured data on the fly and it leverages open-source um technology so like spark um hive pig things like that. Then we have Kinesis data stream. So this is a real-time streaming data service. It creates producers uh which sends data to a stream. It has multiple consumers that can consume data within a stream and use uh it for real-time analytics, click streams, ingestion data from a fleet of IoT devices. Then we have Kinesis Fire Hose. This is a serverless and a simple version of a data stream and you pay on demand based on how much data is consumed through the stream and you don't worry about the underlying servers. Then you have Amazon Kinesis data analytics. This allows you to run queries against data that is flowing through your real-time stream. So you can create reports and analysis on emerging data. And last on the Kinesis side here we have Amazon Kinesis video streams. This allows you to analyze or apply processing on real-time streaming videos. Onto the second page here we have manage Kafka service MSK. Um and it might be MKS um now that I'm looking at it here. So just be aware that that might be incorrect. But a fully managed Apache Kafka service. Kafka is an open-source platform for building real-time streaming data pipelines and applications. It is similar to Kinesis but with more robust functionality. Then we have Redshift which is um it was his flagship uh big data tool. It's a pabyte size data warehouse. The data warehouses are for online uh online analytical processing OLAP. So data warehouses can be expensive because they are keeping data hot. Meaning that we can run a very complex query in a large amount of data and get that data back very fast. But this is great when you need to quickly generate analytics or reports from a large amount of data. We have Amazon Quicksite. This is a business intelligence tool or a business intelligence dashboard BI for short. You can use it to create business dashboards to power business decisions. It requires little to no programming and connect and ingest to many different types of databases. If you ever heard of Tableau or PowerBI, this is just the Adabus equivalent. We have Adabus data pipelines. This automates the movement of data. You can reliably move data between compute, storage, and services. We have Adabus Glue. This is an ETL service. So, it allows you to move data from one location to another where you need to perform transformations before the final destination. It's similar similar to DMS, but it's more robust. We have AIS Lake Formation. This is a centralized, curated and secured repository that stores all your data. So it's a data lakeink. It is a storage repository that holds a vast amount of raw data in its native format until it is needed. And then last on here we have as data exchange. This is a catalog of thirdparty data sets you can download for free uh or subscribe or purchase data sets. So they might have like the CO 19 foot traffic data, the IMDb, TV, movie data, historical weather data. And sometimes this is really great if you're just trying to learn how to work with these tools. Okay. Hey, this is Andrew Brown from Exam Pro and we are taking a look here at Amazon Quicksite, which is a business intelligence dashboard or BI dashboard that allows you to ingest data from various adab storage or database services to quickly visualize business data with minimal programming or data formula knowledge. So, here's an example of a Quicksite dashboard. Um, and so the way Quicksite is able to make these dashboards super fast is via Spice, the super fast parallel in-memory calculation engine. Um, and the thing is you don't have to use Spice. Um, but generally it is good to use it. Uh, and there are some caveats when getting your data into Quicksite. Sometimes it can't ingest data directly from a particular uh data store. So you might have to dump it to S3 first, but it's not too bad because you can use Adobe Glue to transform that data over. Um there are additional features sometimes marketed as services but we have quicksite ML insights. This detects anomalies perform accurate uh forecasting. It can generate natural language narrative. So basically like you know describe it as if you're going to read it out as a business report you know. Then there's Amazon Quicksite Q. This allows you to ask questions using natural language on all your data and receive answers in seconds. So there you go. Hey, this is Andrew Brown from Exam Pro and let's go take a look at Amazon Quicksites which is a or Quicksite which is um a business intelligence tool. So when you go here you have to uh sign up because it's kind of part of AWS but on its own separate thing and then you have to choose what you want. So we have enterprise and standard. Um I do not want to pay that much so I'm going to go to standard over here. I'm not really sure what the difference is. It's not really telling me what um between standard and enterprise, but I'm going to assume standard is more cost effective. But here we it says user use IM federated identities, which is fine. Use IM federated identities only. Um we can stick with the top one there. That seems fine to me. We need to enter a name. So we'll just say my quicksite account. And we probably have to fill something in there. So let's say android exampro.co and these are the services that are going to integrate with it. Athena, S3, RDS, things like that. I guess we could select some of those buckets. I'm not too worried about doing that right now. The provided account name is not available. That is a terrible UI, but that's AWS for you. So I'm just going to dump some numbers there. I'm going to put my email in here again. Um, we probably want some S3 buckets. I'm going to make a new bucket because I think that's how we're going to do this. We're going to have to make a bucket here and say uh quicksite data. Okay. And we're going to create ourselves a bucket here. I'm going to go back and hopefully that shows up. Uh it does not. So, what I'll have to do is just back out and I'm just going to give it a hard refresh here. And we're hit quick sign up for Quicksite again and we'll choose standard and we'll say my Quicksite account. A bunch of numbers there. Andrewexampro.co. I don't really care about ingesting data from everywhere else. I just want it from S3. There's my data. Uh, sure. We'll give it right permissions even though I don't plan to do anything with Athena here today. and we'll give it a moment to load. So, what I'm thinking is So, what I'm thinking is just making like an Excel spreadsheet here and just filling in some data. So, oh, it says our account is set up here. So, we'll go to quicksite because I bet I can import like a CSV or something. Um I'm more of a Tableau or PowerBI kind of person. Um but uh you know for the purpose of the cloud practitioner I am going to show you this. Amazon Quicksite lets you easily visualize data and etc. That sounds great. Next. Next. Next. I know what I'm doing. Oh, do we have some examples? Great. So I don't even have to make a spreadsheet. Okay. So what we'll do is just click on that. And we have stuff. It looks like they've really improved this since the last time I've seen it, which is quite nice. Um, but I could try and make my own. I'm just trying to think how do we do this again. Yeah, we have the spice there. So, it's a lot easier from starting from scratch. I'm just going to say close and user analysis. We want data sets in here. Oh, we already have some data sets. These are coming from S3. I think that's the old S3 logo. I'm not sure why they're using that one. We can go here and create a new data set. Oh, we can upload directly. So, I don't even have to use S3. That's great. So, what I'm going to do is just have some values in here. So, I'm going to just say um uh type value. So, we'll say banana 125 123. We'll say apple 11 orange. Nobody likes oranges. I shouldn't say. I'm sure it's like lots of people like oranges. Oh, we got to put pears on there. I actually really like pears. People think I like bananas, which is not true. I actually like pears. That's what I like. So, I'm going to go ahead and save this. Save as. And I'm just going to save this to my desktop here. So, just give me a moment. Just doing this off screen. And I'm going to save this uh data set quicksite CSV. It can even take an XLS. So I don't have to save it as a uh I'll just save it as an XLS. Okay. And so we're going to just upload that. So there is that data set. It's going to scan that file. It's going to see that sheet. You even preview it. There's the information. We're going to add that data. Uh I add it as a data data set. Well, how do I where do I It's like it says add the data. I just want to add it as a data set. So data set up here. Maybe save and visualize up here. And is it autographing it? Maybe if I drag in. Is it working? Is it thinking? Okay, it's at 100%. So I'm going to just drag that onto there. And it says pear, orange, banana. Just kind of trying to make sense of this here. Is it taking in count the value? Maybe put the value down there. Wow, that's so much easier. I haven't used this for like a year and um I'm gonna tell you this has gotten a lot easier to use. So, I'm quite impressed with this. But yeah, I mean this is pretty much what Quicksite is. If you want to visualize things in different types, you can drag them out. You can probably like click on the the wheel here and change it. Again, I'm not sure exactly how all the uh the dials and knobs work here, but I mean, another thing we could do is just drag out like another object and do the same thing. So, maybe I'd want a pie chart. Um, so add a visual. Yeah, it's not as nice as PowerBI, but like it's still great that it's here, you know? Type value. So, we got a nice pie chart there. Uh, let's try something weird. Let's give this one a go. Doesn't color it, which is not very nice. Um, there's probably some kind of way to color it, but focus on banana only. I don't know. I don't know the point of there. But anyway, that's quick site. So, um, I really don't want to pay for this. So, what I'm going to do is go up here. Um, there's you have to deactivate. I'm just trying to remember how because they change the interface again. They change everything on you. So maybe we go I'm on a trial for four days here. Maybe quantity four just the four 29 day trial. So if I want to get out of this trial, what do I do? I don't want to use it anymore. Um so how to delete as quicksite cancelling your subscription. So before you can unsubscribe uh you're signed in the IM account, your Quicksite administrator, you're the root IM administrator. Sure. Uh you deleted any secondary namespaces to find the existing namespace, etc. So choose your username in the application bar to manage quicksite account settings. Unsubscribe. So I was almost there. I thought I was in the right place. Uh this one. No, I was just there. Manage quicksite your subscriptions edit. There's no unsubscribe option. So I'm not sure. Can I cancel? Unsubscribe. Button does not appear in Quicksite. and it could just be because we're on trial and so maybe after the end of the trial it will uh it will vanish there. They are not making this easy for me. Account settings. Ah, delete account. So this is what we probably want to do. Permanently delete the account. Yes. I mean, that has to get rid of the subscription because it gets rid of everything. There we go. We'll say confirm, delete account, unless you're using them in the services, blah blah blah blah blah. Um, successful. Okay, great. So, now I should go back ads.amazon.com. And just to confirm that it's gone, I'm going to go to QuickSite again and just see if it's trying to ask me to sign up again. So, it is. So, I've gotten rid of my account. So, we're all in good shape. And uh yeah, that is that is QuickSite. All right, let's take a look at some more machine learning AI services because Adabus won't stop making these things. Um, and basically last time I made uh the videos, all this generative stuff did not exist. So we need to cover it. The first is Amazon Bedrock. So the uh this uses large language models and makes it a cloud service offering to generate text and images responses. If you know what chat GPT is, you know what Bedrock is. We have Amazon code whisperer. It's an AI code generator that will predict code to meet your use case. Uh so if you've heard ever heard of GitHub copilot, it's the same thing basically. It's going to write code for you or along with you I should say. Uh we have Amazon DevOps Guru. This uses ML or machine learning to analyze your operational data and application metrics and events to detect operational abnormalities. Um, imagine if you had kind of like a junior DevOps person digging into your metrics to figure out if there's something wrong. Then we have Amazon Lookout. This is actually three different um offerings. We have Amazon Lookout for equipment, Amazon uh Lookout for Metrics, and Amazon Lookout for Vision. They all seem to have to do something with quality control and performing automated inspections. So vision of course would use vision to detect anomalies. Uh one would be for equipment to detect if there's anything wrong with operational equipment. Uh and then metrics would be you know with metric data. So something probably more for um the hard industries uh to utilize. And you have Amazon monetron. So this uses machine learning models to predict unplanned equipment downtime. And so the way they do that is they have these uh IoT sensors that's going to capture vibrations and sensor data from your hardware. Then we also have adabus neuron. This is an ad SDK used to run deep learning workloads on adabus uh infer I can't say that word but I know what it is. It's basically um it's a machine learning acceleration on GPUs that you can attach and ads trainium. So yeah, I wish the words weren't so hard. There's actually more um stuff that Adus has for machine learning. I didn't include them because they were just too far out there and they're definitely not going to show up in your exam. You'll definitely never see them. But we now have better coverage. What I really wanted to show was Bedrock, Code Whisperer, because I feel like those two uh will show up on future exams. I'm just trying to get those in front of you now, even if they're not on the exam uh at the time of this recording. Okay, ciao. All right. So, you probably already know what generative AI is, but just in case you don't, I want to just quickly cover it and show a very tiny example. Uh, so generative AI, which also could be shortened to Gen AI, though most people don't say that, uh, is a type of artificial intelligence capable capable of generating new content such as text, images, music, or other forms of media. So an example would be something like a software that I like to use called Midjourney uh where you can put in a prompt and so it will then go ahead and generate out an image. Um so all the cloud service providers have some kind of offering with both image and text. Um but yeah hopefully that makes sense. The idea is that you can plug stuff in and you get stuff out. Okay, let's let's take a look here at machine learning and deep learning frameworks. And so these are uh frameworks that uh can be used with SageMaker or have direct support for them. I just wanted to get you some uh exposure and to uh get you some context in terms of these because machine learning and AI and all this stuff is becoming more popular. So you should at least have heard of these things. So I have all the logos on the lefth hand side. and we'll go through them. The first is Apache MXNet. So this is a machine learning framework adopted by AWS. Basically um every single cloud service provider backs their own kind of open- source framework and they try to make that the one that they suggest you to use. But in practice uh there's ones that are good and there's ones that people just don't want to use. And Apach MXNet is not fun to use whatsoever. Um, and so you'll see it all over in the marketing and pushed everywhere. But really people want to use things like Curus TensorFlow. But anyway, I just wanted to point that out that it was has a bias because they've invested energy into uh their team of machine learning frameworks. You got PyTorch optimized for Tensor uh for deep learning using GPU and CPU. It's created by Facebook. Facebook does not necessarily um have its own cloud service provider offering. So it's kind of out there and so you'll see good support for PyTorch and all the major providers. U the next is TensorFlow and this is made by Google. What's interesting with TensorFlow is Google made uh their own um GPU or TPU they call it a tensor processing unit. So Tensor is a a unit of thing in TensorFlow and it they have optimized hardware for it. I personally find TensorFlow the easy to use or I should say Kiraz. So um curious is a highlevel machine learning framework built on top of tensorflow because these lower level ones were just really hard to use and so basically pietorch came along and it was much easier to use and then everyone noticed how easier pietorch was and so that's where curus came from was to be competitive with pietorch and be easier to use. Then you have apachi spark which is a unified analytics engine for large scale data processing but they do have ML offerings within it called spark ml. Um, so there's definitely things you can do there. Uh, there's a piece of software called Chainer. Um, and it's for it's a deep learning framework that supports CUDA. Then there's hugging phase which is not exactly a framework or tool. It's just a way of accessing a lot of models online and data sets and quickly launching them. For whatever reason, I uh, Adabus has uh, strong synergies with HuggingFace. I've seen like developer advocates and other uh, folks that worked at AdSugging Face. And so there seems to be strong uh relationships between hugging face and AWS for whatever reason. There's a lot of ML frameworks out there, but because ML is uh just uh progressively um or rapidly innovating, you'll see frameworks come and go. And so I remember when I researched this and I was just trying to understand all the frameworks out there. There's just a lot. And I just kept digging into them and finding, oh, they're not active anymore. They're not active anymore. So I just want to point out that we have all these ones up on screen. if they become unactive tomorrow, I would not be surprised. But uh for the most part, all of these seem to be very popular uh and uh they're being well supported. Uh but yeah, hopefully that gives you an idea of these frameworks. Okay, ciao. All right, let's take a look here at Apache MXNet a little bit more in detail because this is the framework that Adabus wants you to use. Whether you want to use it or not is a different story. uh but you'll see it all over in their marketing pages and things like that. So, Apache MXNet is a deep learning machine learning framework which supports many many different programming languages. So, that is one advantage of it. Uh the key features uh is that it's scalable, it's flexible, it's portable, it's it supports multiple programming language. Adabus has made Apache axnet their framework of choice. So, there's lots of support for it within Adabus SageMaker and the ML containers. But I have noticed that they've been increasing support for PyTorch. So maybe you know they're just trying to meet the customer where they are. But anyway um there is a lot of stuff for MXNet. MXNet has two highlevel interfaces. Uh one's called Gluon and there is module API. So uh depending on which one you use, one is imperative programming, one symbolic programming. Uh this is more of a deeper concept for machine learning. But I'm going to tell you one is really easy, one is really hard. Um but uh let's look at a very simple example of uh some code for using the glue on API. So it kind of looks like that and you can see that they are using Python. So hopefully that gives you an idea of uh MXNet and its offering. The key thing is that it offers it in a lot of different programming languages. Will this appear on your exam? Absolutely not. But should you know it, you absolutely should. Um just so you have good context with Adabus and ML. So there you go. I want to talk a little bit about Intel because I think it's very important to remember the hardware that is running with these um cloud service providers because it really does matter. Um and there's a couple terms you might see when using uh compute that you're not aware of and I want to make sure you know what they are. So let's talk about what is Intel. So Intel is a multinational corporation is one of the world's largest semiconductor chip manufacturers. Intel is the inventor of the x86 instruction set. So basically uh they released this chip back in 1978. This one's called the Intel 8086 chip and the idea is that um they came up with an instruction set um it's basically a bunch of words that you can use um to program the chip and it's a lower level language. So um that lower level language would be in assembly um if if that makes any sense. So the idea is that you have this um instruction set and you have to write an assembly. And so basically most modern programs like when you use uh programming languages like uh C it will actually compile down to assembly um or other languages will compile down to assembly because that is what the chip understands and then assembly is turned into machine code like the zeros and ones. And the reason I'm mentioning this is that when you go and you uh launch uh a compute uh instance on let's say on AWS uh you're launching a EC2 instance you have to choose uh whether it's x86 or a different instruction set or architecture and so the other one is ARM and they're both really really good. It just depends on whether uh uh your stuff can support it but for the most part Intel has ARM chips as well. So um there is no company that produces ARM chips per se. It's just an architecture and uh the way it works is that it just has fewer instruction sets. So there's fewer uh rules that you can write in. So it's a more limited writing in assembly. But at the end of the day, it doesn't matter because your programming language is going to compile it down. So you don't have to worry about those fewer instructions. But because it has fewer instructions, it generally results in a better uh power efficiency and so it can have better performance or better or better cost to you the customer. So when I can, I try to run ARM. And for the most part, it's always great to run ARM, but uh it really depends on if your software is going to be able to run on ARM um and stuff like that. So I just wanted to point out those two things there about uh at least Intel and then instruction sets. Okay. All right. I want to talk about two things um that Intel has with AWS. And the first is Intel Xeon scalable processor. And the second is Intel Gotti. Um so it of course does work with or purchases um hardware from other um uh other companies like they use AMD and Nvidia. But I think it's worth mentioning Intel in a little bit more detail here because every time I go to reinvent, Intel has a big giant booth and you can go scour the Adabus website and it just looks like Adabus works more closely with Intel as opposed to the other uh providers. Not to say that Intel is not being utilized on GCP and Azure and others, but uh I just noticed uh something more going on there with AWS. But let's first talk about Intel Xeon scalable processors. These are high performance CPUs designed for enterprise and server applications commonly used in ads instances. Um that scalable part makes them very good for machine learning. So you often are going to be be using Intel Xeon processors whether you know or not on AWS. The Intel is the uh Intel uh Habana Gotti uh processor. So this is a uh processor specialized for AI training. Uh you could say that this is a direct competitor to Nvidia or a similar competitor because uh they uh they uh do something very similar. Um I believe that Intel Gotti has their own SDK called Synapse AI uh that you can use to interact with it. So you could launch up Sage Maker and then use uh that uh that API or SDK in order to best utilize uh that hardware there. But both of these um pieces of hardware are offered uh on AWS and I think it's just good to know them at least in name uh what they are. Okay. Hey, this is Andrew Brown and let's talk about GPUs. I'm sure most people know what GPUs are here, but I'm going to talk about it anyway because I want to talk about CUDAS. So, a GPU stands for general processing unit, and it's a processor that is specialized to quickly render high resolution images and videos concurrently. If you've ever played video games, you know you need a good GPU because it's all about those images. However, GPUs can perform parallel operations on multiple sets of data. So, they can also be used for non-graphical tasks. And this makes it really good for machine learning and scientific uh computation. So, if you're trying to uh convince your significant other that you need a better graphics card, you can just tell them it's for work. I need it for machine learning and scientific computation. It's not your fault that you can also play video games with it. And so, we have like a graphic there on the right hand side. I think I got that from Nvidia. And so they're kind of trying to demonstrate the difference between uh the parallelization with GPU versus serial tasks with CPU. But let's go and just read a little bit more. So CPUs can have an average of four to 16 processor cores. GPUs can have thousands of processor cores. How that works, I have no idea, but I just know that that's how it works. Uh so we have 48 GPUs can provide as many as 40,000 cores. So that is a lot. GPUs are best suited for repetitive and highly parallel computing tasks such as rendering graphics, cryptocurrency mining, and people are even still doing that and deep learning and machine learning. So, you know, there you go. That's GPUs. All right, let's take a look here at CUDA. But before we do, let's talk about Nvidia. So, Nvidia is a company that manufactures graphical processing units for gaming and professional markets. If you have ever played video games and you build your own rig, um, a lot of people like to choose Nvidia, but Nvidia can do things other than video games. And this is due to their framework uh called CUDA, which stands for compute unified device architecture. So, it's a parallel computing platform and API. I said framework, but I guess it's an API by Nvidia that allows developers to use CUDA enabled GPUs for general purpose computing GPUs. and it says GPG GPU because it's saying general purpose GPUs. I know that's a mouthful there. Um so over on AWS they have a bunch of instances that um can utilize uh Nvidia GPU. So I ads is always changing the instances. So these could be old. But you can see we have a P3 which has the Tesla Tesla V100. You have the G3 with the Tesla M M60. The G4 with the T4. uh the P4 with the Tesla A00. So there's probably these are probably old ones. There's new instances with newer Nvidia cards. But my point is is that Adabus has uh GPUs that you can utilize. Another thing I want to point out with CUDA is that all major deep learning frameworks are integrated with Nvidia deep learning SDKs. there's a big fight or war over um uh these companies that make uh GPUs and CPUs because they really want the uh theirs to be used for machine learning. So you can definitely be sure that AMD probably has some kind of similar offering or something uh and definitely Intel as well. Um but Nvidia has done a very good job in uh making sure that theirs is the most popular. Um so NVIDIA deep learning SDK is a collection of NV uh Nvidia libraries for deep learning. So this is something that this is the SDK you can use with CUDA to interact with their API. Uh so one of those libraries are called CUDA deep neural network library. So that's something you can use with it and it's uh tuned for a bunch of stuff. If it looks like it's getting a little bit too um uh technical, it's because this slide was a was for my machine learning uh adabus specialty and I didn't do a whole lot to change it and brought it over. Uh so you don't ne don't really need to know that last part there but just understand what CUDA is and that it's uh very important uh for working with machine learning and ads has uh good offerings uh for instances with it. Okay. Hey, this is Andrew Brown and we are taking a look at Amazon Athena which is an interactive query service that makes it easy to analyze data directly from S3. I love this service. It is super useful. It's less if your uh bucket is your data set for your database and you can query against it. Athena is based off the open source distributed query engine Apache Presto which uh technically is true but when this first came out as far as I understood it was based off of Presto but now I understand it's based off a fork of Presto. So Athena can do two things. Uh it has Athena SQL which lets you run SQL queries on an S3 bucket. Athena uses Tin row SQL. I have no idea if that's the proper way to pronounce it, but that's the name of it, which is a fork of Apache Presto. And that bunny is the logo for Tinro. Uh, it can commonly access, it can be commonly accessed via the ads management console to enter queries. So, that's generally how you'll want to use it. You can programmatically use it, but uh, usually I just use it in the UI. In this case, the JDBC or OBC drivers can be utilized to interact with Athena. If you don't know what those are, they're they're Java um interfaces uh for querying things to to databases. Okay, you can query it with the AD CLI or SDK which is probably a very common use case programmatically. Uh the other part of Apache is it has Apache Spark on Amazon Athena. So Athena used to just be Athena SQL which is just called Athena and so now they have this Amazon Athena with Apache Spark. So this is where you can interactively run data analytics using Apache Spark. You access um uh you access everything via Jupiter compatible notebook with Apache Spark. So you basically are writing code in a notebook. Um Athena is serverless so you only pay for what you use. Athena integrates with the following ad services. So we have cloud for cloudfront cloud trail data zone elb so that's elastic uh load balancer EMR it glue data catalog IM quicksite s3 inventory step function systems manager inventory VPC I want to point out that for Amazon Athena there are exams like at least in the past um we could say like the security certification where it was very important to know what could actually uh uh connect to Athena and what Athena could uh like dump its data to and things like that. So that is very important to know. So understand the application integration of Athena is super important. So just try to know that as best you can. Okay. Hey, this is Andrew Brown and we are taking a look at AWS Glue. Uh, I believe it's Adas Glue, and not Amazon Glue, but Adosglue is a serless data integration service that makes it easy for analytics users to discover, prepare, move, and integrate data from multiple sources. When this thing first came out, it was junk for years. And they have really done a lot of work to make this a much more powerful tool. And it's a much more important tool um in the Adabus ecosystem that I think is worth knowing because it does a lot of integrations between data services. So, you definitely need to know this one inside and out. Uh the use cases for this one is analytics, machine learning, application development. Uh you can discover and connect to more than 70 to diverse data sources and manage your data to a centralized data catalog. Uh I just recently found out you can visually create run and monitor uh ETLs uh to load your data into your data links. I almost wonder if Adabus did this because Azure had such a great offering for this. So maybe they are trying to be competitive with Azure Synapse I believe that one it's called for uh visual ETLs. Um you can immediately search and query catalogs data using Amazon Athena and in Athena you'll notice there's very strong integrations with it. We have EMR Redshift Spectrum. What can it do? It does data discovery, modern ETL or ELT, cleansing, transforming data. It's a centralized cataloging. So, it does a bit more than just one thing. And so, you'll notice there's a couple things that AdSlue does. Okay. Hey, this is Andrew Brown from Exam Pro and we are taking a look at the AWS wellarchchitected framework. So this is a white paper created by AWS to help customers build using best practices defined by AWS. You can find this at ads.mazon.com/archchitecture/wwellarchchitected. This idea is not unique to AWS. the other providers have it, but I believe Adabus was the first one to define this and they have a really good uh a good approach to this and this is pretty much essential knowledge that you have to have uh for certifications when we're looking at the cloud practitioner the solution architect associate and professional because um there's a lot of principles here or best practices that adabus uses themselves to architect their infrastructure. Okay. So the framework is divided into five sections called pillars which address different aspects or lenses that can be applied to a cloud workload. So imagine you have your cloud workload. You're going to want to adopt the ad as well architecture framework. Some things that you know people don't consider outside of the five pillars is that you need to know general definitions uh general design principles and the review process. Um and then from there you have your five pillars. So you have operational excellence, security, reliability, performance, efficiency and cost optimization. And all of these have major sections in this uh white paper. But outside of just the main white paper, each of these have their own white papers that go even into farther detail. So if you really want to uh really focus on security and get a lot more information, they have that as well. Okay, let's take a look at the general definitions for the well architecture framework. Starting with the pillars. So the operational excellent pillar is there to run and monitor systems. The security pillar is to protect data and systems to mitigate risk. The reliability pillar is to mitigate and recover from uh disruptions. The performance efficiency pillar is about using computing resources efficiently or effectively. And the cost optimization pillar is about getting the lowest price. And this is where you're going to find all the business value. And I put an asterk there because uh you know you might obsess saying we need to meet the requirements for all these pillars and that's not the case. You can trade off pillars based on the business context. So you know don't take it as literally implement every single thing but just consider that uh you know you might have to adapt it based on your workloads. Then we have some general definitions that we will come across. So there's components so code configuration it was resources against a requirement. A workload so a set of components that work together to deliver business value. Milestones so key changes of your architecture through the product life cycle. Then there's architecture itself. So how components work together in a workload and then we have technology portfolio. So a collection of workloads required for the business to operate. Okay. So the well architected framework is designed around a different kind of team structure. So when you're looking at enterprises they generally have a centralized team with specific roles where AWS structures their teams as being distributed with flexible roles. And so this new kind of methodology of distributed teams uh has some major advantages but it does come with some risks and so adabus has baked in some uh practices or uh things that they do to mitigate these issues. Okay. So let's compare on premise enterprise uh to what adabus is proposing for your team structure. So on premise what we'd see is a centralized team consisting of technical architects, solution architects, data architects, network architects, security architects and you kind of see that they all have a specialized vertical and they are usually managed by either to oaf or zack uh man framework. So those are just ways of structuring your teams. Those are very popular. And so what Adabus is proposing here is that you have a distributed team and uh the way you're going to make that team work because obviously just thinking about a distributed team they're going to be a lot more agile but to make sure that they effectively work you have practices like team experts who raise the bar uh making sure that you know uh in any areas we can always say how can we do this better uh then there are mechanisms in place for automated checks for standards. So that's the great thing about cloud can all be automated to say hey does it meet our regulatory compliance or or what have you and then there's the concept of the Amazon leadership principles which we will cover on in the next slide in detail and so um you know is not obviously using uh these other frameworks because it has its own which is this one here but the the mechanism to which they stay organized and up to date is they are supported by a virtual community of subject matter experts principal engineers so that what they'll do is they'll edit things like lunchtime talks and then recycle that into their onboarding material or into this framework itself. Okay. So, we're taking a look here at Amazon's leadership principles and these are a set of principles used during the company's decision-making, problem solving, simple brainstorming, and hiring. All right. Um, and so I can't say that I like all of these, but definitely some of them really stand out as being great, especially the first one, which is customer obsession. So instead of worrying about what your competitors are doing, think about what the customer wants. Work your way back and uh you know really focus on the customer's needs. Then there's ownership. So if you're going to go do something uh you know try to be your own mini boss uh and uh take responsibility for whatever it is you're building event and simplify. So you know always look for the simplest solution. Don't try to engineer something super complicated if it's not necessary are right a lot. So you know try to be right. Uh learn and be curious. So that's pretty self-explanatory. Hire and develop the best. Insist on the high standards. Adabus always refers to this as raising the bar, think big, buys for action, frugality. And Adabus is really frugal if you didn't know that. But not just for like themselves, but also for their customers. They want customers to uh spend the least amount of money possible when using their infrastructure. Earn trust. Uh dive deep, have a backbone, disagree and commit, deliver results, strive to be the Earth's best employer, success and scale bring responsibility. And if you want to read these in detail because they have a big block of text for each of these uh you can go to amazon jobs/principles and read all about it. Okay. All right. Let's talk about some general design principles uh that you should be considering when you are designing your infrastructure no matter what pillar that you are looking to adopt. The first is stop guessing your capacity needs. So the great thing with cloud computing is you use as little or much based on demand. Whereas on premise, you would have to purchase a machine and you'd have to make sure you have additional capacity so that you could grow into it, right? And so here with cloud, you do not have to worry about that. Uh test systems at production scale. So be able to clone your production environment to testing, tear down testing while not in use to save money. So a lot of people will have a staging server that they run all the time. But the great thing here is that with cloud, you know, it's you can just spin it up and have it right away and then tear it down and save money. Um there's automating to make architectural experimentation easier. This is talking about using infrastructure as a code. So for AWS, this would be using cloud form, creating change sets which kind of um uh say exactly what is going to change, stack updates, drift detection to see if your stuff is uh uh being changed over time by developers through manual configuration, things like that. Then we have allow for evolutionary architectures. So this is about adapting CI/CD um doing nightly releases or if you're using serverless if you adopted lambdas they deprecate over time forcing you to use the latest version uh and so that is evolutionary architectures. Then we have drive architectures using data. So um when you're using cloud there's a lot of tooling in there to automatically start collecting data. So cloudatch will be collecting some things by default and cloud trail will as well. So, you know, that is another thing. And then improving things through game days. So, this is about simulating traffic on production or purposely killing EC2 instances or or messing with your services to see how well they recover. All right. Before we jump into each of the pillars, let's go open them up and take a look at what structure we should expect to see. So, we have design principles, definition, best practices, and resources. All the pillars follow this to a te. So let's just talk about what these are. So the design principles are a list of design principles that needs to be considered during implementation and that's where we're going to focus a lot of our energy. Then you have definition. So this is an overview of the best practice categories. Then you have the best practices themselves. These are detailed information about each practice with uh various services. And then you have resources. These are additional documentation, white papers and videos to implement this pillar. And I just want to tell you that if you're doing the certified cloud practitioner, we're really just going to cover the design principles. But for the solutions architect associate or anything uh that's associated or above, that's where we're going to actually uh dive deep into the implementation of the best practices because there is a lot of stuff there. So uh yeah, there we go. Let's take a look here at the design principles for operational excellence. So the first here is perform operations as code. to apply the same engineering discipline you would to application code to your infrastructure. So by treating your operations as code, you can limit human error and enable consistent responses to events. Generally, we're talking about infra infrastructure as a code here. So this would probably be like things like cloud form. There's other things you could do like policy as a code and a bunch of other ones. Then we have make frequent small reversible changes. So design your workloads to allow components to be updated regularly. Uh this could be talking about doing rollbacks, incremental changes, blue green deployments, having a CI/CD pipeline. Refine operations procedures frequently. So look for continuous opportunities to improve your operations. Uh here you'd use game days to simulate traffic or event failure on your production workloads. Anticipate failure. So perform post modems on system failures to better improve. Write test code. Kill production servers. Um there's a small spelling mistake. It should have an R here. So servers to test recovery. learn from all operational failures. So share lessons learned in a knowledge base for operational events and failures across your entire organization. But you know if you can just remember these headings here uh and be able to categorize what would be under operational excellence, you'll be okay. All right. All right. Let's take a look at the design principles for the security pillar. So the first here is implement a strong identity foundation. So implement the principle of lease privilege or PP. That's a very popular concept meaning giving people only the permissions that they need. Use centralized identity. So that would be using Adabus AM. Avoid long live credentials. Then we have enable traceability. So monitor alerts and audit actions and changes to your environment in real time. Integrate log and metric collection and automate investigations and remediation. Then we have apply security at all layers. So take defense indepth approach with multiple security controls for everything from edge networks, VPCs, load balancing instances, OS, application code. Uh we might have a slide in this course on defense and uh depth where basically you see like a ring of things and you can kind of see how like there's layers that go from outward to inward and that's what they're talking about when they're listing out all these things here. Automate security best practices. Uh protect your data in transit at rest. uh keep people away from your data. The reason I don't have descriptions there is because those are pretty self-evident. Prepare for security events. So, incident management systems and investigation policies and processes, tools to detect, investigate, and recovery from incidences. And uh there are a lot of security tools out there and they all have funny uh initialisms. I didn't put any of them in here, but I'm sure there are some there. Um but yeah, there you go for security. All right, let's take a look at design principles for reliability. And the first here is automatically recover from failure. So monitor KPIs and trigger automations when the threshold is breached. Test recovery procedures. So test how your workload fails and you validate your recovery procedures. You can use automation to simulate different failures or to recreate scenarios that led to failures before. Scale horizontally to increase aggregate system availability. So replace one large resource with multiple small resources to reduce the impact of a single failure on the over overall workload. Distribute requests across multiple smaller resources to ensure that they don't share a common point of failure. So we're talking about multi-AZ uh high availability. Okay. Stop guessing capacity. We've seen this multiple times. So in on premise it takes a lot of guess work to determine the elasticity of your workloads uh workload demands. With cloud you don't need to guess how much you need because you can request the right size of resources on demand. That's going to give you better reliability. Okay. Manage change and automation. So making changes via infrastructure as a code will allow for a formal process to track and review infrastructure. You're going to see IC show up a lot in this framework. Okay. Let's take a look at design principles for performance efficiency. So the first here is democratize advanced technology. So focus on product development rather than procurement, provisioning and management of services because if you're on prem you'd have to order those machines, set them up and so take advantage of advanced technologies specialized and optimize for your use case with on demand cloud services because again if you're using onrem uh you you know you might not have the option to have Sage Maker, right? It's just going to be a VM and you're going to have to do all the work yourselves whereas AWS has all these specialized things so you can move quickly. Uh go global a minute. So deploying your workload in multiple ABS regions around the world allows you to provide lower latency and a better experience for your customers at a minimal cost. We have used serverless architecture. So serverless architecture removes the need for you to run and maintain physical servers for traditional computing activities. Removes the operational burden of managing physical servers and can lower transactional costs because managed services operate at cloud scale and ads can be a lot better at um running them efficiently than you will. Uh experiment more often. So with virtual and automatable uh resources, you can quickly carry out comparative testing using different types of instances, storage or configurations to make the best choice. We call this right sizing, choosing the right size. Consider mechanical sympathy. So understand how cloud services are consumed and always use technology approach that aligns best with your workload goals. For example, consider data access patterns when you select database or storage approaches. Let's take a look here at design principles for cost optimization. So the first one here is implement cloud financial management. So dedicate time and resources to build capacity uh via cloud financial management and cost optimization tooling. Sabus is saying hey take advantage of all our tooling that makes it easy for you to know exactly what you're spending. Adopt a consumption model. So pay only for computing resources that you require uh an increase or decrease using uh depending on the business requirements. We're talking about on demand pricing. Measure overall efficiency. So measure the business output of the workload and the cost associ associated with delivering. Use this measure to know the gains you make from increasing output and reducing costs. So stop spending money on undifferentiated that's a hard word to say undifferentiated heavy lifting. So Adabus does the heavy lifting of the data center operations like racking, stacking and power servers. It also removes the operational burden of managing operating systems and applications with managed services. This allows you to focus on your customers and business projects rather than your IT infrastructure. And the last one here is analyze and attribute expenditure. So the cloud makes it easier to uh accurately identify the usage and cost of systems which then allow transparent uh attribution of IT costs to individualize workload owners. This helps measure return on investment and gives workload owners an opportunity to optimize their resources and reduce costs. So there you go. Hey, this is Andrew Brown from Exam Pro and we are taking a look at the Adabus wellarchchitected tool. So this is an auditing tool to be used to assess your cloud workloads for alignment with the AWS wellarchchitected framework. And so what it is, it's essentially a checklist uh but it also has nearby references. So, you know, as you're reading through it, it will show you information uh and resources so that it can help you with this checklist here. And the idea is when you're done, you can generate out a report and then you can provide that report to your executives and key stakeholders to prove uh you know how well architected your workload is on AWS. Okay. Hey, this is Andy Brown from Exam Pro and in this video I want to show you two things. the well architected framework and the wellarchchitected tool. So first let's go look for the well architected framework. So we're going to look up white papers uh AWS. And so if we go here to ads amazon.com white papers we have a bunch of pages here. And so I'm going to just check box on white papers so that we can kind of reduce the amount there. And I'm going to check box well architected framework. If we scroll all the way top here, one of these you think it'd be right at the top. Well, one of these is the well architected framework. And here it is. And so if we open it up, it used to just directly open up as a PDF. I'm sure you can still download it as is, but generally you're going to open up as this HTML page. And you can basically read through it, see all the stuff, see the multiple pillars. You can click into here, see the design principles, read the definitions, and then start reading about uh the uh best practices. And they have these things at the bottom of each one. Uh very boring, very, very boring. But um you know when you get to the solutions architect and things like that you're going to need to know this stuff inside and out. It's going to really help you out this cloud practitioner. We only need to know surface level information. Um but that's the well architected framework. Let's take a look at the well architected tool. So we can type in well here. We'll get the well architected tool. And if we go here you can see that I've created a couple before probably demos for our videos. And so I'm going to go define a new workload. I'm going to say my my workload here. Uh my workload. Whoops. My workload. It is messing up because I probably have Grammarly installed. So, it does not like Grammarly. So, I'm just going to turn it off for now. So, my workload and it's still not typing correctly. So, I have to kill out kill out Gramly here, which is kind of frustrating. So, that's a bug that that's not Gramly's fault. Adabus's fault for not playing well with Grammarly and that's something I will definitely report to them because it's very annoying. So, I'm going to go ahead and refresh this page. My workload. My workload. Um, and this is Andrew Brown. Production or pre-production doesn't matter. Pick your regions. US East or US East 2. Sure. I'm selecting it. There we go. Uh optional optional optional optional. You go to next and then you can choose your lens. Serless lens FTR lens. So that's the foundational technical review SAS lens. We go with well architected framework. And then once that is there, we can start reviewing. Okay. And then we get this big checklist. And so we can go through this and read each one. So we say ops one, how do you determine what your priorities are? and all these things like ops and stuff like that. These are all the summaries in each of the well architected framework sections. So you pretty much don't need to really read the doc. You can just go through this. So everyone needs to understand their part in enabling business success. Have shared goals in order to set priorities of resources. This will maximize the benefit of your efforts. So select the form of the following. Evaluate the customer's external needs. External customer needs. Evaluate internal customer needs. If you click info, it's going to highlight each one here. So all key stakeholders including business development, operations, teams, this will ensure etc. And so you just go through this and uh you know once you have that and you save and exit okay uh you'll have uh the questions that are answered. It'll say what's high risk, what's not, things like that. Very simplistic. It's really just a way of making a very organized report or checklist and proving that you went through it uh to the executive level or to the management level there. So hopefully that makes sense to you. Um it's not too complicated but there you go. Hey, it's Andy Brown from Exam Pro and we are looking at the Adabus architecture center. So the architecture center is a web portal that contains best practices and reference architectures for a variety of different workloads and you can find this at adabus.amazon.com/archchitecture. So if you're looking for best practices in terms of security, they have a huge section on that and they have it for pretty much every kind of category on AWS. Or if you're looking for uh practical examples, you can view the large library of reference architectures. So here's one to make an AWS Q&A bot and it will have an architectural diagram, but you can also uh deploy it via cloud for possibly CDK. Um and this way you can get a working example and then tweak it for your use case. So this is a really great tool um when you are done the adabus well architected framework and you're saying okay how do we apply it can we get more concrete examples and I wouldn't be surprised if a lot of the resources within the well architectured framework white paper are just pointing to this center okay this is brown from exam pro and we are taking a look at the concept of total cost of ownership also known as TCO. So what is TCO? Well, it is a financial estimate intended to help buyers and owners determine the direct and indirect cost of a product or service. So, here is an example of, you know, TCO for maybe like a data center. So, we have hardware monitoring, installation, IT personnel, training, software, uh, security, licensing, and taxes. But that's not just the limit of it. It's just kind of the examples we show here. Uh, the idea of creating a TCO is useful when your company's looking to migrate from on-rem to cloud. And we will have a better uh kind of visual here to kind of understand how you would contrast against on premise to cloud. But let's just talk about how it actually works in practicality which I think gets kind of overlooked when cloud service providers are selling you on TCO. So the idea is that Gardner um you know they uh they were they wrote this article based on this research where an organization had moved uh 2,500 virtual machines over to Amazon EC2. And so what you're seeing here is that there is a an additional cost that we're not considering which is the migration cost. See this bar up here. Um so the idea is that the company was paying around 400,000 and so they started to move over and as you see uh their costs initially went up for a short period of time here. Uh but then once that migration cost was over uh you can notice that they had a 55% reduction. So it's uh totally possible to save money. Uh and clearly there is great savings. Uh now is it exactly what AWS promises? Probably not. And that's that could be the reason why they updated their TCO calculator. But let's now just do that contrast against the two. So we have on premise on the left and AWS on the right or any cloud service provider. And what I want to do is help you think about what costs do people generally think about because if we have like iceberg, the idea here is that these are the costs that we always think about above the iceberg and then there's these hidden costs that we just don't consider when factoring in our move. And that's the idea of T TCO is to consider all the costs, not just the superficial ones. And so people say these look like teeth and that's why I add penguins and a whale here. Um, and so when we're talking about on premise, what we generally think are software license fees and subscription fees, but when you compare those against each other, they might look the same. Um, adabus might just look slightly cheaper or even more. And so the idea is you need to then factor in everything. So on on premise there's implementation, configuration, training, physical security, hardware, IT personnel, maintenance. And on the adabus side, you know, you are you don't have to do as much of that stuff. So you just have implementation, configuration, and training. And so Adabus with their TCO calculator, their old one used to make a promise of 75% in savings. Um, again, you know, this is going to really vary based on what your migration strategy looks like. Um, but you know, it's totally possible. you could save 75% or you could save 50% over a third year, three-year period and there's a an initial spike. So, that's just something you have to consider. But the nice thing though is that once you've moved over, all this stuff over here on the lefth hand side will be AWS's responsibility. Okay. All right. So, let's take a look at capital versus operational expenditure. So, there's capex and opex. So on the capex side, the idea here is you're spending money upfront on physical infrastructure, deducting that expenses from your tax bill over time. Uh a lot of companies that are running their own data centers uh or have a lot of on-remise stuff understand what capex is because it's something that a lot of times they get tax breaks on and that's why we see a lot of people that have a hard time moving away from the cloud because you know they keep on thinking about that money they save from the government. But capex costs would be things like server costs, storage, network costs, backups and archives, disaster recovery costs, data center costs, technical personnel. So the idea is with capital expend expenses, you have to guess upfront what you plan to spend. Okay. With operational expenditure, the idea here is the cost associated with an on-remise data center that has shifted the cost to the service provider. The customer only has to be concerned with non-physical costs. So leasing software and customizing features uh training employees and cloud services. Paying for cloud support uh billing based on cloud metrics. So compute usage, storage usage and so the idea here is with operational expenses you can try a product or service without investing in equipment. So basically capex is what we think about when we think of on premise and then opex is what we think about um you know we're thinking about cloud or AWS. Okay. All right, let's ask a very important question about cloud migration. So, does cloud make it personnel redundant? So, a company is considering migrating their workloads from on- premise to the cloud to take advantage of the savings. There is a concern among the staff that there will be mass layoffs does cloud make it personnel redundant and that's a very important question to to have an answer to. And this all talks about shifting your IT team into different responsibilities. So a company needs IT personnel during the migration phase as we saw with that gardener research report that there was a period at least like a year where they needed that for you know depending on the size of your company. So you're still going to need those people around a company can transition some roles to new cloud roles. So a very traditional example would be you have your traditional networking roles or people have like their CCNA and now they're moving over to cloud networking. Uh they have a reduced workload but there's other things uh that they could be doing in the cloud. um a company may decide to take a hybrid approach. So they'll always need to have a traditional IT team and a cloud uh IT team. Um and the last one and this one you'd actually see on the exam which is a company can change employees activities from managing infrastructure to re revenue generating activities. Okay, so the idea is that you know if you're a company why would you get rid of all your staff when you can just put them all into revenue generation? I suppose you know you could uh you know lay them off and some companies might do that. Um or you know you could just retrain them because uh if that IT personnel team has uh technical expertise I'm sure they can translate that to the cloud. Let's talk about the adabus pricing calculator. And this is a free cost estimate tool that can be used within your web browser without the need of an adabus account to estimate the cost of a various adabus services. And this is um available at calculator.awws. And the reason we're bringing this up is because there used to be a TCO calculator, but now this is the calculator that you use. So the adabus pricing calculator contains 100 plus services that you configure for cost estimate. And so you can just click through a bunch of knobs and uh boxes to uh you know uh exactly figure out a very accurate cost. So the idea here is that to calculate your TCO an organization needs to compare that existing cost against their adabus costs. And so the adabus pricing calculator can be used to determine uh you know the adabus cost and obviously the organization knows its cost so it can compare it against that. Um and the way you can get data out of this is you can export it as a final estimate to a CSV. Okay. Hey, this is Andrew Brown from Exam Pro and we are taking a look at the AWS pricing calculator. So to get there it's calculator.WS. What you're going to do is hit create estimate and then here you have a bunch of services. So you just choose what you want. So you type in EC2. We're going to configure that. And from there we can do a quick estimate or an advanced estimate. So choose this option for fast and easy route to ballpark and estimate. Choose this option for detailed estimate for accounts, workloads and stuff. So notice down below very simplistic. We hit advanced and we get all sorts of stuff. Okay. So you know it's really up to you. I'm very comfortable with the advanced options. So I might be running a Linux machine. What is my usage? it's going to have uh daily spikes of traffic because of the use cases. You could say it's not busy on Saturday and Sunday, that it has a baseline of one, a peak of two, eight, things like that. Then you can choose what you're using. Um T4G, I don't even know what that is. Uh but we'll just say like T uh T2 micro, which is not that big. T3 micro. And you can say we're doing on demand because a lot of people would be doing that. and you see like $7 a month. It's not a lot of money. Then you're looking at your storage data in, data out. Okay. So, we can add that. Another thing that we might see is something like RDS. So, we go to RDS and we add Postgress. And not all of them have the simple and complex. Sometimes they're simple. So, production database, we'll have one here. And we're just going to be say a dB T2 micro, T3 micro. There we go. Uh 100. That's fine. We're not going to have multi-AZ. We'll have single A on demand. Show the calculation. $13 a month. Add that to our estimate. So you're kind of getting the idea there, right? Um and so you know, we have our summary. That's our monthly $391. Um oh, sorry, over 12 months. Our monthly cost is $32. Okay, you can go back there, clone the service, edit it, stuff like that. You can export the estimate. I think it goes out as a CSV. You can also hit share um and then hit agree. And so then you have a public link. And if I have that link, we can just see what happens if I paste it. Okay. And it just brings them to the same estimate. So there you go. Hey, this is Andy Brown from Exam Pro and we are taking a look at migration evaluators. So, it was formerly known as TCL logic and then Adus acquired the company and it is an estimate tool used to determine an organization existing on premise costs so it can compare it against its adabus costs for planned cloud migration. Uh so the idea is that you can get a very very detailed information and the way it collects information is via an agentless collector to collect data from your on-remise infrastructure to extract from your own on-remise costs. I don't know if you can see there but you can see that it works with a lot of different kinds of on-remise technology like VMware, Microsoft, uh TSQL, all sorts of things. Okay, one migration tool that we can use with AWS is the VM import export and this allows us to import virtual machines into EC2. So it has import instructions for VMware, Citrix, Microsoft HyperV, Windows VHD from Azure and also Linux VHD from Azure. And so the way this works is that you prepare your virtual image for upload and adabus has a bunch of instructions for that. Once it is ready, you're going to upload that to an S3 bucket. And once it's uploaded to an S3 bucket, then what you can do is use the Adabus CLI to import your image. Um, and so that is the CLI command down below. And once it is produced, it will generate out an Amazon machine image. And so from an AMI, you can then go launch your EC2. Okay. Hey, this is Andrew Brown from Exam Pro and we are taking a look at the database migration service which allows you to quickly and securely migrate one database to another. DMS can be used to migrate your on-remise database to AWS and that's why we're talking about it. Uh, and so here's a general diagram where you have your source database which connects to a source endpoint goes through a replication instance. So that's a EC2 instance that's going to replicate the data to the target endpoint onto the target database. Uh, and so we have a bunch of possible sources. So we have Oracle database, Microsoft SQL, MySQL, Mariab, PostgresSQL, MongoDB, SAP asse, IMDb DB2, Azure SQL database, Amazon RDS, Amazon S3, and I'm assuming these are database dumps. Amazon Aurora, Amazon Document DB, and so for possible targets, it's very similar. We got Oracle database, Microsoft SQL, MySQL, Mariab, PostSQL, Reddus, SAPS, SE, Amazon Redshift, Amazon RDS, Amazon Dynamob, Amazon S3, Amazon Aurora, Amazon Open Search Service, Amazon Elastic for Reddus, Amazon Document DB, Amazon Neptune, Apache Kafka. I'm just showing you the list to give you an idea of how flexible this service is. Uh, but you can tell that the these are very different databases. So how can it uh move them over right and so in not all cases can it easily do it like it's very easy to go from myql to postgress um but you know for ones that are like relational to uh NoSQL this is where the ads schema conversion tool comes into play it's used in many cases to automatically convert a source database schema to a target database schema or semi-automate it so that you can kind of like uh you know uh figure out how to map the new schema. uh each migration path requires a bit of research since not all combinations of sources and targets are possible and it really comes down to even versions of these things. So, but I just want you to know about that it's an option as a database migration service and I've migrated a very large database before and it's super fast. Uh so, and it's not that hard to use. So, something you definitely want to remember when you're migrating. So, Adabus has free services that are free forever, unlike the free tier that are up to a point of usage or time. Um, and so there are a lot here. This is not even the full list. There's definitely more. And we have IM, Amazon VPC, Autoscaling, Cloud Formation, Elastic Beantock, Ops Works, Amplify, AppSync, Codear, Organizations, Consolidated Building, AWS, Cost Explorer, uh, Sage Maker, Systems Manager. There's a lot of them. Okay. Um but the thing is is that uh these services are free but some of these um can spin up other resources. So the services are free themselves. However, ones that provision services may cost you money. So cloud for which is an infrastructure as a code tool could launch virtual machines. Those virtual machines will cost money, right? Ops works can launch servers that can cost money. Ampfly can launch um lambdas that can cost money. So that's something you just have to consider. Um but uh yeah, there you go. Hey, this is Andrew Brown from Exam Pro and we are taking a look at the Adabus support plans. So, we got basic, developer, business, and enterprise. And you absolutely absolutely need need to know this stuff inside and out for exam. They will ask you questions on this. Okay, so basic for email support only, uh such as billing and account. So, if you think it got overbuild, and that's something you should do if if you've uh uh misconfigured something and you end up with a big bill, just go um open up a support uh ticket under basic for billing and they're likely to refund you. But if you do have questions about billing accounts, that's what you're going to be using. For everything else, that is for tech support. Um and so for developer, business, enterprise, you're going to get email support, which they'll uh roughly reply within 24 hours. I believe this is business hours. So if you message them on Friday um or sorry Saturday you might be waiting till Monday for it. Okay. Um in terms of thirdparty support uh the only one that doesn't have thirdparty support is developer. So if you are using something like Ruby on Rails or Azure or something that has interops and something else business enterprise will absolutely help you out with it. Same with enterprise but the developer one not so much. Uh if you like to use the phone or you like to chat with people um that's available at the business enterprise tier. This is the way I end up talking to people. If you are um you know like if you're in North America and you're calling between 9 to5 on a Monday and Friday you're likely to get somebody that is within North America. If not it'll be one of uh one of the supports from some other area. So just be aware of that. That can also affect the time they pick up. Uh sometimes it's five minutes, sometimes it's 30 minutes to to an hour. Uh you know, it just depends on what service you're asking for and you know what time of day. Okay. Um in terms of responsiveness, uh for general guidance, everything is 24 hours or less. For developer business enterprise, if your system is impaired, it's within 12 hours or less. With production system impaired, it's four hours or less. With production system down, it's one hour or less. And if you're for enterprise, um it's going to be business critical system down less than 50 minutes. So just notice who has what for these things. Um I've definitely waited like 3 days on general guidance before. So just take these with a grain of salt that they're not, you know, they don't really stick to these that or maybe I'm just not paying enough for them to care. Okay. Um in terms of uh getting actual people assigned to you, this only happens at the enterprise level where they have their concierge team. that they help your um organization uh learn how to use AWS. You can ask them many questions personally and then you have a TAM a technical account manager that is somebody that knows um a side and out and they'll help you architect things and make correct choices or they'll check your bill and help you try to reduce that bill things like that. Okay. In terms of trusted advisor checks at the basic developer, you get seven advisor checks. Once you're paying for business, you get all the checks. The cost here for business is zero. Um, for developer it's starting at $29 a month. For business it's starting at $100 a month. And then for enterprise it's $15,000 uh a month. So I said starting at because it's dependent on your usage. Okay. So let's just look at developer business enterprise here because basic's not going to be applicable here. So for developer it's $29 USD a month or 3% of the monthly adabus usage which whichever is greater. On the exam they're only going to ask you like is it $2,900? like generally do you know the tier of expensiveness but they're not going to ask you the percentage of usage. Okay, there's not going to be formulas here. Um when you get into business it's a little bit uh different where they have it in different brackets. So it's going to be 10% for the first uh 10,000 and the next is going to be the next 7,000 stuff like that. Similar for enterprise as well. So let's just do some math so we know that we understand how this works. So if you if you had a monthly spend of $500 at the developer tier, that's 3% of 500 is $15. So they go, okay, what is greater? $29 or $15? So you're paying $29. If your spend is $1,000, that comes out to $30. Uh so you're going to end up paying $30 because that's greater than 29. Okay? For business, uh if your monthly spend is a,000, that's 10% of a,000. That's $100. If your spend is $5,000, then you're going to be paying $500. If your monthly spend is 12,000, then the first 10% of a of 10,000 is a,000 and then the next is 7% of 2,000. So your total bill is 140 USD. We're not going to do a calculation for enterprise because it's the same for business, but hopefully that gives you an idea there. Okay. Hey, it's Andy Brown from Exam Pro and we are taking a look at a technical account manager, also known as a TAM. And these provide both proactive guidance and reactive support to help you succeed with your adabus journey. So what does a TAM do and this is straight from an adabus job posting. What they would do is build solutions, provide technical guidance and advocate for the customer. Ensure ads environments remain operationally healthy while reducing cost and complexity. Develop trusting relationships with customers. understand their business needs and technical challenges. Using your technical uh acumen and customer obsession, you'll drive technical discussions regarding incidents, trade-offs, risk management. Consult with a range of partners from developers through the seuite executives. Collaborative with with solutions architect, business developers, professional service consultants, and sales account managers. Proactively find opportunities for customers to gain additional value from AWS. provide detailed reviews of service disruptions, metrics, detailed pre-launch planning, being uh part of a wider enterprise support team, providing postscale cons uh uh consolative expertise, solve a variety of problems across different customers as they migrate their workloads to the cloud. Uplift customer uh capabilities by running workshops, brown bag sessions. Brown bag sessions being sessions that occur at lunchtime, something you can learn in 30 minutes to an hour. And so one thing that's really important to understand is that TAMs follow the Amazon leadership principles especially about customer uh being customer obsessed and we do cover the Amazon leadership principles somewhere in this course and TAMs are only available at the enterprise support tier. So hopefully that gives you an idea what a TAM does. Hey, this is Andrew Brown from Exam Pro and this follow I'm going to show you um Adabus support. And in order to use Adabus support or to change your level of support, you're going to need to be logged into the root account. I should say you can use support with IM users, but if you want to change the support plan, you're going to have to be the root user. So the top right corner, I'm going to support. And notice here in the lefth hand side right now, I have a basic plan. And so before we look at changing our plan, I'm just going to go create a case. and we're going to uh just take a look at some of the options that are open to us. So we have account billing support, service limit, increase technical support. Notice this is grayed out. So we cannot select anything here. I can go to here and increase our service limit. And this is something that you might have to do uh pretty soon early in your account. You might say, "Hey, I need more of something like EC2 or um a very common thing is SCES." So for SCES you might say hey um I need to have this amount of emails for etc. Okay. So um if we go over to account and billing support uh we can go here and ask anything we want. So if it's about the free tier I could say ask a general question getting started and saying uh what is free on AWS? Um, I want to know what is free on AWS. And you can attach uh three attachments there. You can choose via uh web and phone, which is really nice. Um, but today I'm just going to do web here and submit that just to kind of show you that as an example. And so what that is going to do is open a case. And then we will see probably respond in 24 hours to 48 hours. Just depends on um whether it's the weekend or not because it's based on business hours, of course. So now that we have an understanding of basic, let's go take a look at what the other tiers look like. So we have basic, developer, business, and enterprise. Enterprise being extremely expensive, developer being affordable, and then business being um you know, affordable for businesses. So I would say developer is okay. It gives you um uh it gives you uh better support, but it's all via email. And so, you know, if you really want good support, you're going to have to pay the business one. And that's the one that I use quite a bit. So, if I change my plan, I'm going to go over to business. And this is going to cost me 93 bucks just to do to show you here today. So, I'm going to go ahead and click that. And so, it's now processing it. And so, what's going to happen is I'm going to have to wait for this basic to switch to business because if I go to the case here, it hasn't happened as of yet. So, notice I cannot select this. So, I'm going to see you back here in maybe like four or five minutes or however long it takes and we'll take a look then. Okay, great. Okay. So, after a few minutes, it says my plant is now business. And what I can do is go ahead and create a new case. And so, I can go over to technical support and ask a question. So, if I was having issues with anything, it doesn't matter what, I could go over to EC2 Linux. And then I could choose my category. So, I could say I'm having an issue with um systems manager. And a lot of times they like you to provide the instance ID. It's going to change based on what service you choose here. Um, but you'll get different information. And I'll just say I need help with um logging into my EC2 instance managed by SSM. So I could say I created an EC2 instance and I am attempting to access uh the instance via sessions manager but it is not working. I think I have a RO issue. And then I'm just going to go down here and say this is not a real question. I am filming a demo video for or tutorial video on how to use support. Okay. And so once we do that, we have the option of web chat and phone. So if you use phone, you're going to enter your phone number in and they're going to call you back. Uh usually you will be on hold for anywhere for five minutes to an hour. It just depends. Usually it's within 15 minutes. So it's very good. Of course it depends on the time of day and your location, things like that and the service because there's different uh support engineers for different types of services and the the balance of those are different. But generally chat is pretty good. So I can go here and I'm just going to hit submit and it's going to open a chat box. And so you just wait. Okay. And sometimes it's super fast and sometimes it takes uh minutes. Okay. So, we are going to just sit here for a bit and um you know I'll just pop back here when there is somebody to talk to. Okay. Okay. So, after waiting a little while, looks like uh we've been connected here. So, it took a bit of time. So, we're just going to say hello. Hi, Ume. Uh this is Andrew Brown. Um, I am recording a video to teach people how to use AWS and I wanted to show them how it support works. So, I'm just showing them how the chat system works. say hello and hopefully they'll appreciate or they won't. It just doesn't really matter. We'll give him a moment. There we go. That's it. Thanks for your help. Okay. And so that's pretty much it. Um, so you know, there's nothing really uh uh special about that, but the idea is when you are typing with them, it will appear in the correspondence there. So, I'm just going to end the chat. Okay. Uh, and then I'm just going to mark that case as resolved. Sometimes they will ask you to resolve it. If I go to cases, I probably have some previous ones here. Um, and I have a lot, but I don't know why they don't all show up here. So, you can see this one is pending. This one is resolved. I go back to this one, you can kind of see that the uh history of a conversation is kept, and you can go back and forth uh with the people there. Um, and yeah, that's pretty much it. Uh you can also do screen sharing. So they might send you a request to go on Zoom or download this piece of software that shares your screen. And so that is another option as well. So they can get pretty hands-on to help you uh with your problems there. But that's pretty much all I wanted to show you with support. I'm going to downgrade this and I'm not sure if they're going to give me back my money. Sometimes they'll prorrate it for you. But I go here and go back to basic. Um, so we will also refund your credit card directly in the months remaining fees on your old plan which you previously paid. You're obligated to pay a minimum of 30 days of support each time you register. So, I'm not going to get any money back, which is totally fine because I just wanted to show you how that works. But business support is definitely worth it. And uh, you know, that's it. So the adabus marketplace is a curated digital catalog with thousands of software listings from independent software vendors uh easily find, buy, test and deploy software that already runs on ads. The product can be free to use or can have an associated charge. The charge becomes part of your ads bill and once you pay ads market pays the provider. The sales channel for ISV and consulting partners allow you to sell your solutions to other ads customers. products can be offered such as AMIs, ABIS cloudformation templates, software as a service offerings, web ACL's, AIS WAF and rules. So, it sounds great. Um, if you want to sell here, I think you need like a US bank account to do it. Um, and you know, sometimes marketplace is just part of AWS. So, like when you're using the EC2 marketplace, you are technically using the Adabus marketplace. Um, but they also have like a dedicated page for it. So, it's integrated with some services and then it's also standalone. Okay. Hey, this is Andrew Brown from Exam Pro and this follow along, we're going to take a look at the Adabus marketplace. So, what I want you to do is go on the top and type in marketplace and that'll bring us over to here. The marketplace can be found in a variety of different places on the platform. Here you can see that uh previously I was using something called Guacamole Bastion Host to launch a server. Um, but the idea is that um you can discover products and subscriptions that you might want to utilize. Okay. So, if I go over here, there's a variety of different things. And so, it could be like I want to have something like a firewall. That might be something that we might be interested in. So, we could search there. And there's like bring your own license firewall. So, maybe you have a license with this and you want to run it on an EC2 instance, something like that. Again, it's not like super complicated uh what's going on here. But a lot of times, you know, when you're using services, you're accessing the marketplace anyway. So like when I'm launching an EC2 instance, notice on the lefth hand side says ads marketplace. And so I don't have to go to the marketplace there. I can just kind of like check out the thing I want. Um and that's pretty much all there really is to it. Okay. So you know, hopefully that makes sense. Well, let's take a look here at consolidated billing. So this is a feature of Adabus organizations that allows you to pay for multiple accounts via one bill. So the idea here is we have a master account and we have member accounts. And I'm pretty sure that we probably call this root account. Now I don't think uh master account might be a data term, but it's still showing up in the documentation. The idea is that if you have member accounts within your organization, they're all going to be consolidated under this single account. If you have an account outside of your organization, um you know, this is not going to give you uh this is going to be basically a separate bill um as if it's like a standalone organization or what have you. Okay. So uh for billing Adabus treats all accounts in an organization as if they were one account. You can designate one uh uh master or root account that pays the charges for all the other member accounts. Consolidate billing is offered at no additional cost. You can use uh cost explorer to visualize usage for consolidated billing which we can see I have the icon here. Uh you can combine the usage across all accounts in the organization to uh to share the volume pricing discount which we did cover in this course separately. If you want an account to be able to leave the organization, you do have to attach it to a new payment method. So, if let's say you had an account and you want to give it to your friend or whatever, they're have to hook up their credit uh their credit card, but you can totally have uh an account leave an organization, but you have to deal with that billing aspect. Okay. All right. So, there's a really cool way to save in AWS and that's through volume discounts and it's available for many services. is the more you use the more you save is the idea behind it. Um and so consolidating billing lets you take advantage of volume discounts. This is a particular feature of adabus organization. So if you do not have the orcs turn on you're not going to be able to take advantage of that. Okay. So one example would be something like data transfer where it is build uh for the first 10 terabytes at at 17 cents or sorry 17 cents and then the next 40 terabytes it will be at3 cents. Okay. So if we had two accounts um such as Odo and DAX and they're not within a organization we can calculate those and see what they are unconsolidated and just so you know 1 TB equals 1024 GB and that's what you're going to see in these calculations. So for Odo uh you know if he has four terabytes and that is uh we calculate the gigabytes there and we times it by uh the um cent value there we're going to get $696. Okay, for DAX, we're going to end up with uh about 1392 there. And so if we were to add those up, the bill would come out to $2,88. Okay. So the idea is that there's an organization and they like your company and they created two accounts, but they're just not within an organization. By having them in the organization, you're going to save um about almost $80 there. So um that is a reason why you'd want to use volume discounts. Okay. Hey, this is Andrew Brown from Examro and we're taking a look at Abis Trusted Advisor. So, Trusted Advisor is a recommendation tool which automatically and actively monitors your Adabus accounts to provide actual recommendations across a series of categories. So, this is what it looks like. I personally prefer the older dashboard, but this is what they have now. And you can see along the side we have a bunch of categories and then we have some checks here saying uh you know what are we meeting what are we not and you can go in and read each one and they'll tell you so much information they'll even show you like what things are not meeting that requirements in some case you can easily remediate by pressing a button not in all cases but the thing with ads trust advisor is think of ads trusted advisor like an automated checklist of best practices on AWS and they kind of map to the pillars of the well architected framework. Not exactly but pretty close. But there are five categories of ads trusted advisor. So we have cost optimization. How much money can we save? Performance. So how can uh we improve performance? Security. How can we improve security? Fault tolerance. How we can we prevent a disaster or data loss? And service limit. So are we going to hit the maximum limit for a service? And so uh the next thing we need to discuss is um there's a variation of the amount of checks that are available to you based on your support plan. So you know if you're using basic or developer you have seven trusted advisor checks and if you have business enterprise you have all the trusted advisor checks. So uh if we're talking about just the ones that are available to you, the ones that come for free is MFA on root account, security groups, specified ports of unrestricted, Amazon S3 bucket permissions, Amazon EBS public snapshots, Amazon RDS public snapshots, IMU. So this is just about alerting you about discouraging the use of the root account service limits. So all service limit checks are free. Um, it's weird because they call it the like seven security checks, but if you counted all the service limits, it' obviously be too large of a number. But notice that one through six are all security checks. So, you're not getting anything from the other tiers, just the security tier. And what I want to do is just go over a bunch of available checks out there. It's probably not the full list because I couldn't even be bothered to update it if they've added more, but it'll give you a general idea of what you could expect under each category. So for cost optimization, um it could be things like looking at idle load balancers. So you know, if you have load balancers you're not using, you're paying for them. So get rid of them. Unassociated elastic IP addresses. So for every IP that's not associated, you're paying for as well. Maybe under performance, you have um high utilization of Amazon EC2 instances. So maybe you can save money by switching to smaller instances. Under security, we saw MFA on root account, very popular one. making sure you turn on key rotation could be something as well there under fault tolerance. Um it could be making sure that you're using backups on your Amazon RDS database. Maybe that's turned off. Uh for service limits, there's just a ton of them. And so uh one that that you know might be pertinent to you is VPCs or EC2 limits. So there you go. Hey, this is Andrew Brown from Exam Pro and we're going to take a look at trusted advisors. So, what I want you to do is go to the top and type in trusted advisor. And once you're there, you're going to notice on the lefth hand side, we have cost optimization, performance, security, fault tolerance, service limits. Right now, there are no recommended actions because there's not much going on this account. And when you uh have the uh free level of support, the basic support, you're not going to have all these checks. But if we go in here, we can still see kind of what they do. Um, so we have like performance, security, things like that. So, these are the ones that we actually can see. And they generally work all the same way. If you expand here, it's going to say Amazon EBS public snapshots. So check the permission settings for the EBS volume snapshots and alert you if the any snapshots are marked as public. And so if you scroll on down, if there were ones that were an issue, it would tell you right here. Okay. Then down below here, we see like check buckets in Amazon S3 that have open access permissions or allow access to authenticated AWS users. So yellow the ACL allows uh list access for everyone. Uh a bucket policy allows for any kind of open access. Bucket policy statements have public grant access. So maybe what we can do is see if we can get this to trigger. And so what I'm going to do here is go over to S3 and what we're going to do is make a bug bucket that has full access. Okay. So I'm going to create a new bucket and it'll say my exposed bucket. We'll scroll on down here and we'll just check box that off and create the bucket and say I acknowledge that is totally fine. Okay. And so now I have a bucket that is 100% exposed. If we go back to trusted advisor, give this a refresh. I'm not sure how fast it will show up here, but if I expand. So it says the bucket ACL allows upload delete for everyone. The trusted advisor does not have permissions to check the policy. uh bucket policy statements that grant public access. So what we could try to do is make a policy and try to grant all access here. So I'm not writing these every single day, but I'm sure we could try to figure this out. Um, we'll say S3 bucket policy public access public read. And so that one might be a good example. So I'm going to go ahead and copy this one. Granting read only permission to anominous users. I don't recommend you doing this. I'm just doing this to show you to see if we can get the trusted advisor to check because I don't want you to uh do this and forget about it and then have a serious issue. But the principle is set to anybody so anyone can read it. And here it's saying get object etc. Then it's saying what particular resource. So this one is going to be for uh the bucket in question here which is my exposed bucket. We're going to scroll on down save the changes. Okay. So this bucket is publicly accessible. We're going to go back over here, refresh, and see what we can see. Okay, so checks buckets in S3, etc. So, it should appear under here, and it could be that it's just going to take some time. So, what I'm going to do is I'm just going to hang tight for a little bit. Oh, there we go. Okay, so it's showing up and I guess it just took some time to populate. And so, here we can see we have a a yellow symbol. It's a warning saying, "Hey, there's a problem here." If we go back to the dashboard, I wonder if that shows up. So, this one's for investigation and recommendation. So, you know, hopefully that kind of makes sense to you. I think in some cases you can do remediation from from here or at least you can go and check box and say, "Okay, um ignore could have swore there was remediation for some of these." But in any case, you know, that's generally what trusted advisor does. Um, I think that you probably can have it so it gives you alerts. So, yeah, you could set recipients for particular things like if there's a security issue that I could email a particular person on your team and they could deal with it. But that's pretty much it. So, what I'm going to do is go ahead and delete this bucket. I'm all done with it. We'll go delete and say my delete uh my exposed bucket here to delete it. And that is it. Okay. Let's cover the concepts of service level agreements also known as SLAs. So an SLA is a formal commitment about the expected level of service between a customer and provider when a service level is not met and if customer meets its obligation under the SLA customer will be eligible to receive compensation. So financial or service credits and so when we talk about SLAs's then we talk about SLI. So a SLI service level indicator is a metric or measurement that indicates what measure of performance a customer is receiving at a given time. A SLI metric could be uptime, performance, availability, throughput, latency, error rate, durability, correctness. And if we're talking about SLI, then we're talking about SLOs's, service level objectives. So the objective that that the provider has agreed to meet, SLOs's are represented as a specific target percentage over a period of time. And so an example of a target percentage would be something that says an availability SLA of 99.99% in a period of three months. All right. And let's just talk about target percentages and the way they can be represented. Very common ones we will see is 99.95% 99.99%. Uh then we have 99 followed by 9. And so commonly we just say we call this nine 9ines. Okay. And then there's one 911s. So if somebody says we have an SLA guarantine of of 911s, it's going to be the 99 followed by 911s. All right, let's take a look at Abus service level agreements. And so there are a lot of them and I just want to just show you a few services to give you an idea how they work. uh on the exam they're not going to ask you like oh what's Dynamob's SLA for global tables um but generally we should just go through this because it's good practice so let's take a look at Dynamob SLA so Adabus will use commercially reasonable efforts to make Dynamob available with a monthly uptime percentage of each adabus region during any monthly billing cycle uh so for a at least 99.999% if global tables SLAs's applies or 99.99% if the standard SLA applies in the If event Dynamo DB does not meet the service commitment, you'll be eligible to receive service credits described below. So we have monthly uptime percentage and the service credit percentage we get global tables standard tables. So let's take a look here. So if less than 99.999% but equal to or greater than 99.0% is met. So if if the service ends up being this, you'll get 10% back of what you spent as service credits. If it drops between 99.0 0 and 95.0 you get 25% back. If it's less than 95 uh% um then it's 100% back. Okay. And you get the general idea here. SLA is going to be slightly different with their drops. Now let's take a look at um compute. And so compute is going to apply across a bunch of compute services probably because they're all using EC2 underneath. So that's probably the reason for it. So we have EC2, EBS, ECS, EKS and AIUS makes two SLA commitments uh for the included services. So we have a region level SLA that uh governs included services deployed across multiple AS or regions and an instance level SLA that governs Amazon EC2 instances individually. And again we have our monthly uptime percentage our service credit percentage region and instance level. So you can just see the same thing. It's like it's going to change based on uh what it can meet. Then we'll take a look at one more like RDS. So a relational database service. So it will use commercially reasonable efforts to make multi-AZ instances available with monthly uptime percentage of 99.95% during any monthly billing cycle. And again, you know, if if they don't meet those requirements, you're going to get service credits back, which basically equal USD dollars on the platform. And so for this, it looks like that. So just notice that you know with like compute it was for a a bunch of services for DynamoB it was based on uh particular features like global standard tables SLA it's very straightforward. Uh we didn't do S3 because I just did not want to show you that one. It was just too complicated. But my point is is that it's going to vary. So you have to look up per service. Okay. Hey, this is Andy Brown from Exam Pro and we are taking a look at Amazon's service level agreements. And so the way you find SLAs's is you pretty much just type in SLA for whatever it is. So if you're looking for compute, you type in SLA or you look for a particular service. So maybe you say SageMaker SLA AWS. I don't think there's like a generic SLA page. At least I don't know where it is. I always just type in SLA to find what it is. And through that, you can just kind of read through and try to find out uh the things that that matter to you for your business. Okay. Let's take a look here at the service health dashboard. And so the service health dashboard shows general status of adabus services. And it's really simple. The idea is that you can uh check based on uh the geographic area. So you'd say North America, Europe, etc. And what you'll see is an icon that says whether the service is in in in good standing and the details whether the service is operating normally, etc. Notice they also have an RSS feed. The reason I'm talking about service health dashboards is because I want to talk about personal health dashboards and because they're both called health dashboards, it's confusing. So, I wanted to tell you about this one first. So, now we'll jump into the Adabus personal health dashboard. So, we saw the service health dashboard. Now, let's take a look at the Adabus personal health dashboard. So, this is what it looks like and it provides alerts and guidance for Adabus events that might affect your environment. All adabus customers can access the personal health dashboard. The personal health dashboard shows recent events to help you manage active events and show proactive notifications so that you can plan for scheduled activities. You uh you can use these alerts to get notified about changes that can affect your ID resources and then follow the guidance to diagnose and resolve the issue. So th this is very similar to the service health dashboard, but it's personalized for you. Um, and it's uh, you know, I I don't see it crop up very often, but if you had to create alerts or be reactive to uh, things that are happening within your bus, this is where you'd do it. Okay. So, there's a team called Adabus Trust and Safety that specifically deals with abuses occurring on the Adabus platform. And so, I'm going to just list of all the cases where you'd want to be contacting them as opposed to support. So, the first is spam. So you're receiving unwanted emails from an adus owned IP address or adabus resources are used to spam websites or forms. Port scanning. Your logs show that one or more adabus owned IP addresses are sending packets to multiple ports on your server. Uh you also believe uh this is an attempt to discover unsecured ports. Uh DOSs attack. So your logs show that one or more owned IP addresses are used to flood ports on your resources with packets. You also believe this is an attempt to overwhelm or crash your server or the software running on your server. Intrusion attempts. So your logs show that one or more adabus owned IP addresses are used to attempt to log into your resources. Hosting prohibited content. So you have evidence that Adabus resources are used to host or distribute prohibited content such as illegal content or copyrighted content without the consent of the copyright holder. Distributing malware. So you have evidence that AIS resources are used to distribute software that was knowingly created to compromise or cause harm to computers machines that it's installed on. And so in any of these cases, you're not going to adabus support. You're going to open up an abuse ticket. And so you got to contact abuse at amazonus.com or fill out the uh uh Amazon abuse uh form. So and this is whether it's coming from uh an outside ads account or even your internally if you think that somehow someone has compromised your account and it's being used in any of these ways uh this is what you're going to do. Okay. Hey, this is Andrew Brown from Exam Pro and we're looking at AWS abuse. So, uh, we were saying that Adabus has the Adabus trust and safety team. And what you'll want to do is if you, uh, find that there's an issue, you're going to report it to this email at abuseamazon.com or you're going to use this form, which is the report Amazon advis. So you'll go down here, you'll sign in, you'll put your email in, your first name, last name, org, phone number, um the source IP, the the details uh in uh here. You can even select the type of abuse. So you say if it's this kind or that kind, things like that. It's very straightforward. Um and that's pretty much it. Okay. Hey, this is Andrew Brown from Exam Pro and we are taking a look at the Adabus free tier. And this allows you to use Adabus at no cost. Um, and when we say free tier, there there there's the idea of the first 12 months of sign up. There's going to be special offerings or it's free usage up to a certain monthly limit forever. Um, and then there's just services that are inherently free, which we have a total separate slide on, but let's talk about just the free tier stuff. And this is absolutely not the fullest. Um, but uh it's a good idea, like it gives you a good um overview of stuff that is free. So for EC2, which you use a web server, you get a T2 micro for 750 hours per month for one year. And so there's about 730 hours um in uh a month. And so that means you could have a server running uh the entire month for free uh and an additional server for a bit as well. So for RDS, which is a relational database service for either MySQL or Postgress, we can do a T2DB micro for 750 hours for free. So there we get our free database and you would be surprised how far you can get with a uh a T2DB micro. Um you know even for a mediumsiz startup you can run it on uh a T2DB micro with no problems. Then you have your elastic load balancer. You get 70 hours per month for one year. Um so that is a really good thing. Uh load balancers usually cost $15 a month. So that's great. Actually all these pretty much cost $15 a month. So that's about um 1530 $45 month over month for a year that's uh free. Then you have Amazon CloudFront. This is where you'd have your homepage, caching your videos, things like that. So you get 50 gigabytes data transfer out for the total year. Then there's Amazon Connect. You get your toll-free number there. 90 minutes of a call time per month for one month or for one year, sorry. Amazon Elastic. So you could launch a Reddus or Elasticash server. You get 70 hours on a cache T3 micro for a year. um elastic search service. So this full text search so again 750 50 hours per month for one year. Pinpoint campaign marketing email. So you can send out 5,000 targeted users per month for one year. SCES so um simple email uh service. So this is for um transactional emails um so that you send out from your web app. So 62,000 emails per month forever. It was code pipeline. So one pipeline free. It was code build. So uh this is for building out uh projects or things like that. So 100 build minutes per month forever. It was Lambda service compute 1 million free requests per month, 3.2 million uh million seconds of compute time per month for free. Uh and you know I like to highlight these ones because for traditional architecture you're always going to have a web server, a database, a load balancer. Um and you might even have cloud front end there as well. But uh yeah, again there's a huge list and this does not even tap the surface of what's free on AWS. Hey, this is Andrew Brown from Exam Pro and we are taking a look at ABUS promotional credits and these are the equivalent to USD dollars on the Adabus platform. ABS credits can be earned several ways. This could be joining the Adabus activate startup program, winning a hackathon, participating surveys, and any other reason that Adus wants to give credits out. Uh once you uh have um a promotional code, you click the redeem credit button in the billing console. You enter it in and then your credits will be shown there. You can monitor them via budgets or uh via cost explorer and probably even billing alarms. IBS credits generally have an expired date attached to them could be a few months uh to a year credits can be used for most services but there are exceptions where its credits cannot be used like purchasing a domain via RO 53 because uh that domain costs money outside of AWS's cost like for their infrastructure and virtual stuff and so for things like that uh you know they're not going to be you're not going to be able to use credits for that. Okay. The adabus partner network also known as APN is a global partner program for AWS. So joining the APN will open your organization up to business opportunities and allow exclusive training and marketing events. So when joining APN you can either be a consulting partner so you help companies utilize ads or a technology partner. You build technology on top of adabus as a service offering and a partner belongs to a specific tier. So, it's either going to be select, advance, or premiere. When you sign up, it's free to sign up, but you're not going to be able to do much until you start uh committing to an annual fee. So, that's it's like a certain amount of money to uh be able to be part of that tier. And it starts in the thousands. Okay? So, I think the first tier is like something like a,000 or $2,000. And it gets uh more expensive as you go up as a tier. And you also have to have particular knowledge requirements. So this could be holding uh particular adabus certifications at the at the uh foundational level at the associate level things like that. Um or it could be uh adabus APN exclusive certifications. So training that um it's not adabus certifications but there's certifications that are only available to partners saying like how do you it could be like something like how do you uh talk to customers or communication things like that. You can get back promotional adabus credits. So, you know, if you say, "Oh, well, man, I spent uh $2,000 on just being able to uh get into the APN," at least the idea is that you can generally get back that uh that spend on AWS. So, it's like you committing if you give like $2,000, it's like you're going to commit to keep using AWS. I'm not showing the annual fee commitments here and the promotional credits that you get back just because they've changed it a couple times on me and I just don't want this slide to go stale in case they happen to change it again. So you'll have to look that up to find out what they actually are right now. Uh you can have unique speaking opportunities in the official adabus marketing channels like the blogs or webinars. Being part of the APN is a requirement to be a sponsor with a vendor booth at Adus event. So when you when you go to reinvent or any ads um event all the vendors are part of the APN. All right. So they've paid their fee and now they paid an additional fee to get their booth. But um yeah, the partner network uh is very good for uh uh helping you find new business and connecting with other people that are building workloads in AWS. But hopefully that gives you an idea of how that works. Okay. Hey, this is Andrew Brown from Exam Pro and we are taking a look at budgets. So budgets gives you the ability to set up alerts if you exceed or approaching your defined budget, create cost, usage or reservation budgets. It can be tracked at the monthly, quarterly, or yearly levels with customizable start and end dates. Alerts support EC2, RDS, Redshift, Elasticcast reservations. Uh, and so the idea here is you can choose your budget amount. So it could be like a $100. It'll even show you what was the last amount if you're uh resetting the budget to something new. You can choose based on a different kind of unit. So if you wanted to be based on running hours on EC2, you could totally do that. is budgets can be used to forecast costs but is limited compared to cost explorer or doing your own analysis with adas cost and usage reports along with business intelligence tools. Budgets uh based on a fixed cost or or you can plan your cost uh upfront based on your chosen level can be easily managed from the ads budgets dashboard via the ads budgets API. Get notified by providing email or chatbot and threshold uh how close to the current or forecasted budget. Um, so you'd see a list of budgets here, uh, current versus forecasted, the amount used, things like that. You can see your budget history. You can download a CSV. Uh, it'll show you the cost history right in line there, which I can't show you. It It's hard to see there. You get the first two budgets are free. So, there's no reason not to set a budget when you first get into AWS. And each budget costs about uh 02 cents a day. So, it's like 60 cents um uh USD per month for a budget. So, they're very cheap to use. And you got a limit of 20,000 budgets, so you're going to be in good shape. Okay, let's take a look here at AIS budget reports, which is used alongside AIS budgets to create and send daily, weekly, or monthly reports to monitor the performance of your ads budgets that will be emailed to specific emails. So, it's not too complicated. Here you say create the report budget, choose your frequency, uh the emails you want, and budget report serves as a more convenient way of staying on top of reports since they're delivered to your email instead of logging into the management console. So, it's just for those people that just can't be bothered to log in. Okay. Well, let's take a look here at AIAS cost and uses reports. So, generate a detailed spreadsheet enabling you to better analyze and understand your ads cost. So, this is kind of what it looks like. And when you turn this feature on, it will place it into an S3 bucket. You could use something like Athena to turn the report into a queryable database since it's very easy to consume S3 CSVs into Athena. You could use uh Quicksite to visualize your billing data as graphs. So, Quicksite is a business intelligence tool similar to Tableau or PowerBI. You could also ingest this into Redshift. Um, but the idea here is when you turn it on, you can choose how granular you want the data to be, hourly, daily or monthly. If you turn on daily, you'll be able to even say spikes of uh of of of costs for EC2 instances, which is kind of nice. The report will contain cost allocation tags um which I think we have a separate slide on that type of tags and the data is stored in either as either a CSV it'll be zipped or it will be a parkquet format. It just depends on how you want it um uh for that. Okay, let's talk about cost allocation tags. So these are optional metadata that can be attached to ads resources. So when you generate out a cost and uses report, you can use that data to better analyze your data. So what you'd have to do is make your way over to cost allocation tags and need to activate the tags you want to show up. There are two types of tags. So we have userdeed. So whatever you've previously tagged will show up probably there you turn it on. So if you made one with project, you turn on project and there's a lot of ads generated ones that you can turn on. So there's a huge list there. But uh yeah, that's particular with cost. um usage and reports. If it says like cost allocation reports, it's just that's what cost and usage reports used to be called. Um and some of the documentation is a bit old there, but yep, there you go. So, you can create your own alarms in Cloudatch alarms to monitor spend, and they're commonly called building alarms. Uh and so, it's just a regular alarm, but it's just focused on spend. But in order to do this, you have to turn on building alerts first in order to uh be able to use it. Uh, and then you'll go to Cloudatch alarms and you can choose billing as your metric and then you just set your alarm however you'd want. Billing alarms are much more flexible than ads budgets and are ideal for more complex use cases for monitoring spend and usage in terms of alerting. So, you just have to decide what you want to do. Uh, before ads budgets, this was the only way to do it. And so, this is the way I'm used to doing it and I still do it this way today. But, uh, you know, both options are valid and just have to decide what is your use case. Okay. Let's take a look at AAS cost explorer which lets you visualize, understand and manage your ads cost and usage over time. So, uh here's a big graphic of ads cost explorer and you can specify time and range and aggregation and it has a lot of robust filtering. Um what's really nice is that they have a bunch of default reports for you. So, I'm just going to get my pen tool just to show you where that button is. It's over uh here. Uh if you can see my marker there, but but you know you can look at things like monthly cost by service, monthly cost by linked account, daily cost marketplace, R utilization. So there's a bunch there. You can also notice you can create your own report. So if you do find something that you like, you can save it for later. Um you can you could have access to forecasting here so you get an idea of the future cost and whether it's been it's gone up or down. just to kind of zoom in on some of those filteration options. You can choose um either monthly or daily level of of how you want the data to be grouped together and you have a lot of filter control. So if I want to just have EC2 instances for a particular region then I can get that filtered information over here and you can see you have a breakdown of the different types. So it's very detailed and cost explorer shows up in US East1. I'm pretty sure if you click on cost explorer it will just switch you over to that region but just understand that's where it lives. Okay. Hey, this is Andrew Brown from Exam Pro and in this video I want to show you Adus cost explorer. So what we'll do is go to the top here and actually on the right hand side we're going to click on the right and go to my billing dashboard and from there on the lefth hand side we're going to look for cost explorer and then click launch cost explorer and this is where we're going to get to the ads cost management dashboard where this is where we find savings plans, reservations, things like that. on the lefth hand side, click on cost explorer and you can get this nice chart. And so the idea is you can change it from monthly to daily if you if you uh prefer. Okay, you can change the scope here. Maybe we don't need six months. We can just go back um three months here. So there's less data. It is a bit delayed when I'm clicking here. So it also could be just because I'm doing the daily instead of monthly. So you just have to be a little bit patient when uh using this interface. You can change it to stack line graph. You can kind of see the details there. It's not always clear like what others is or things like that. And so uh you can drill down and there's like ways of applying filters and things like that. I always forget how to uh do this. It's because it's it's bringing everything in. So you have to hit clear all first, I think. And um oh you have to click into it. So like if you wanted to click into it and pick a particular service we could go here and type in EC2 and say EC2 instances and then apply that filter. So now we can just see exactly that cost or if we want to choose like maybe just RDS. Okay. So you know that could be useful for you to see. But yeah, sometimes it's not always clear. And so what I recommend is just go back to your billing dashboard. And from there, just go to bills. Okay, bills is really, really useful because here it shows you exactly every single little service that you're being build for. You can expand it and see exactly where. If there you have other accounts, you can go into this side here as well and find spend that way. U but cost explorer is very useful. Just it's useful in a different way. Okay, so there you go. Hey, this is Andrew Brown from Exam Pro and we are taking a look at the Adabus pricing API. So with Adabus, you can programmatically access pricing information to get the latest pricing offerings for services. This makes sense because Adabus can change them at any time and so uh you know you might want to know exactly what the current price is. Uh there are two versions of this API. So, we have the query API known as the pricing service API and you access this via JSON. And then there's the batch API, also known as the price uh list API via HTML. What's odd is that um the batch API returns JSON, but you're accessing it via HTML. So, you can literally paste those links in your browser. For the query API, you're actually sending an an application JSON request. So, you'd have to use something like Postman or something. Uh you can also subscribe to SNS uh notifications to get alerts when pricing for the services change ads prices change periodically such as when adus cuts prices when new instance types are launched or when new services are introduced. So there you go. Hey, this is Andy Brown from Exam Pro and what I want to do here is show you savings plans and savings plan is going to be found under the ads cost explorer. So just type in cost explorer at the top here or if you want you can type in savings plan as well. And once we are here on the lefth hand side we are going to have a savings plans options. So we're going to go to the overview and here it just describes u what are savings plans if you want to read through it. But down below if you have already some spend happening it's going to make some suggestions. And in this particular account it's saying that I could save some money on compute. Before we take a look here I'm just going to go to the form here and see what we can see. So up here we can say commitment through three years. By the way, you have compute savings which applies to EC2, Fargate or Lambda. Then you have the EC2 specific one where uh we can select a very particular type of instance family. And then there's the SageMaker savings plans. Um but if we go here and we just enter in like $2 all up front. Uh I don't really understand it from here because it doesn't make it clear what the savings are. Um, but uh I what it does make it very easy is probably if we go over here and then click down on the compute. So I kind of feel like here it would autofill it in for you. And so here I filled it in or sorry it's filled it in for me. And so here it's saying with a one-year plan all up front for based on the past 30 days that it's going to see that I'm going to see a monthly savings of $25.36. And then I can add it to the cart that way. And I kind of feel like that is the easiest way to um figure that out where with um with how it was going to that form. I just couldn't figure it out myself what the savings were. Uh there are some utilization reports and coverage reports. Honestly, I've never really looked at these before. Um but uh I'm just curious like what we're looking at monthly, daily, the last let's go a few months here. I've been running stuff in this account for a while, so there should be something apply. So nothing nothing of interest, but um I mean I guess you have a lot of use and coverage report and utilization report could be interesting. But I imagine it's maybe you have to be using you have to have a savings plan before you can see this. So that's probably the reason why. Um, but yeah, hopefully that gives you a clear idea that, you know, you can just go down to those recommendations and and see exactly what you can save and you just add it to your cart and then once you want to pay for it, you just choose to submit that order and you're all good to go. All right, so that's savings plans. Let's take a look here at defense in depth to understand the layers of security AWS has to consider uh for their data centers for their uh virtual workloads and things that you also have to consider when you are uh thinking about security for your cloud resources. So in the most interior we have data. So this is access to business and customer data and encryption to protect your data. Then we have applications. So applications are secure and free of security vulnerabilities. Then you have compute. So access to virtual machines, ports, on premise and cloud. You have the network layer. So this limits communication between resources using segmentation and access controls. You have the perimeter itself. So distributed denial of service protection to filter large-scale attacks before they can cause denial of service of users. You could say that's part of the network layer and that's when I say there are variants on this, but we're just separating it out u explicitly. There we have identity and access. So controlling access to infrastructure and change control. And then there's the physical layer. So limiting access to data centers to only authorized personnel. You'll notice I highlighted identity and access in yellow. It's because that is considered the new primary um perimeter. From the customer's perspective, of course, AWS has concerned about the physical perimeter and things like that. But as a as a uh customer, that's what you're going to be thinking about, especially with the zero trust model. And when you see these depths, the idea is that in order to get here, you have to pass through all this stuff. So, if this um if this outward one is protected pretty well, then you generally don't have to worry about the interiors, but of course, you should. Um but yeah, there you go. Let's take a look here at confidentiality, integrity, and availability. Also known as the CIA triad is a model describing the foundation to security principles and their trade-off relationships. So here is our triad. So we have confidentiality. So confidentiality is a component of privacy that implements to protect our data from unauthorized viewers. In practice, this can be using cryptographic keys to uh encrypt our data and using keys to encrypt our keys. So, envelope encryption. Then we have integrity. So, maintaining and ensuring the accuracy and completeness of data over its entire life cycle. In practice, utilizing asset compliant databases for valid transactions. Utilizing tamper evident or tamper proof hardware security modules, HSM availability. So, information needs to be available when needed in practice. So, high availability, mitigating DOS, uh decryption access. So the CIA triad was first mentioned in a NIS publication in 1977. There have been efforts to expand and modernize or suggest alternatives the CIA triad. So one was in 1998 for the six atomic elements of information. Uh or in 2004 we have the NIS engineering principles for uh for information technology security. So it has 33 security principles. But this is still a very popular um model for security. Uh and it's just to kind of tell you like you know you don't always get everything. you don't get all three of them. Sometimes you have to trade off in your scenario. Um, you know, and hopefully some of the terminology here will resonate as we go through more security content. What I want to do here is just define the term vulnerability. So, a vulnerability is a hole or weakness in an application which can be design a design flaw or implementation bug that allows an attacker to cause harm to stakeholders or applications. And uh there's a lot of great definitions of vulnerabilities, but OAS has a ton of them. And we talked about OAS when we talk about Adus WF. Uh but it's an organization that creates security projects that help you know what you should protect uh or gives you working examples so that you can understand how to get better at security. And so they have a lot of ones here, but maybe you'll might notice some here like using a broken or risky cryptographic algorithm. Maybe there's a memory leak, lease privilege violation. So that's um uh lease privilege is something that is a thing that you're always worried about in security improper data validation buffer overflows. So you know just to kind of set the tone of what a vulnerability is and things you should be thinking about. Okay let's understand what encryption is but before we do we need to understand what is cryptography. So this is the practice and study of techniques for secure communication in the presence of third parties called adversaries. An encryption is the process of encoding or scrambling information using a key and a cipher to store sensitive data in an unintelligible format as a means of protection. Uh an encryption takes in plain text and produces produces a cipher text. So here's an example of a very old um encryption machine. This is the Ennigma machine used during World War II and it has a different key for each day that it was used to set the position of the rotors and it relied on simple cipher substitution. And so you might be asking what is a cipher? And that's what we're going to look at next. So what is a cipher? It is an algorithm that performs encryption or decryption. So cipher is synonyominous with code. Uh and the idea is that you use the code to either unlock or or lock up the information that you have. So what is a cipher text? A cipher text is the result of encryption performed on plain text via an algorithm. So you lock that up, you scramble it, it doesn't make sense and you need that code to unlock it to get the information. So a good practical example back in the day was a code book and this was the type of document used for gathering and storing cryptographic codes or ciphers. So the idea is if we zoomed up on here notice where we have cannot so uh and it would be 0 0 and then there would be give them authority. So the idea is 0 0 or if you had the word cannot it would translate to 0 0 and then you use 0 0 to match that up to say what does that actually mean and so that is kind of a very practical example of ciphers in action. So we just took a look at encryption but what are cryptographic keys? So a cryp a cryptographic key an easy way to think of it is a variable used in conjunction with an encryption algorithm in order to encrypt or decrypt data and there are different kinds of um ones we have. So we have symmetric encryption. So this is where we have the same key that is used for encoding and decoding. Uh and a very popular one and the one you will see on AWS is called advanced encryption standard AES. So just take a look at that graphic very closely. So we have one key and it is used to encrypt. So it produces the cipher and then or cipher text we should say and then it will uh decrypt and we will get our plain text. So one single key. Then we have asymmetric encryption. So two keys are used one to encode and one to decode. And a very popular one here is RSA. If you're wondering what those uh those words are, it's three people's names put together who helped uh invent this type of algorithm. And so here we have uh one key for encrypt and one key for decrypt. And they're two different keys. All right. All right. Let's look at the concept of hashing and salting. So for hashing, we have a hashing function and this accepts arbitrary size values and maps it to a fixed size data structure. Hashing can reduce the size of a store value. And hashing is a one-way process and is deterministic. So a deterministic function always returns the same output output for the same input. So if we have something like John Smith and we pass it to the hash function, it's going to create something that is not human readable, but it'll say something like 02 fa xxy whatever. Um and it will always produce the same thing if the same key or you know value is being inputed there. So the reason we use hashing functions or hash in general is to hash passwords. So hash functions are used to store passwords in a database so that the password does not reside in a plain text format. So you've heard about all these data breaches where they've stored the password in plain text. This is the thing that helps us avoid that issue. Um and the thing again is it because it's one way you can't take that hash and unhash it. Um well there are some conditions to it but so to authenticate a user when a user inputs their password it is then hashed. So the one that was inputed at the time of you know login and then that hash is compared to the stored hash in the database and if they match the user is successfully logged in. So in that case we never ever had to know what the original password looked like. Uh popular hashing functions are MD5 Shaw 256 or brypt. Uh if an attacker knows the function you are using uh and uh and stole your database they could enumerate a dictionary of passwords to determine the password. So they'll never see it, but they could just keep on going through that. So that's why we salt our passwords. So a salt is a random string not known to the attacker that the hash function accepts to mitigate the deterministic nature of a hashing function. So there you go. Let's take a look here at digital signatures and signing. So what is a digital signature? It is a mathematical scheme for verifying the authenticity of digital messages or documents. And a digital signature gives us tamper evidence. So did someone mess or modify the data. Is this data from uh someone we did not expect it to be? Is it from the actual sender? And so we kind of have this diagram where we have a person who sends or is going to send a message. So they sign it and then uh Bob verifies that it was for the person who it's from. So there are three algorithms to a digital signature. The key generation so generates a public and private key. Um then there is signing. the process of generating a digital signature with a private key and the inputed value. So signing which is what is happening up here. Signing verification verifies the authenticity of the message with a public key. So remember the private key is used for signing and the public key is used for verifying. SSH uses a public and private key to authorize remote access into a remote machine such as a virtual machine. It is common to use RSA and we saw that RSA is a type of algorithm earlier and so SSH key gen is a well-known command to generate a public and private key on Linux. I know this one off the top of my head. I always know to do this. Um and so what is code signing? So when you use a digital signature to ensure computer code has not been tampered. And so that's just a like subset of digital signaturing. So you can use this as a means to get into a virtual machine or you can use signing as a means to make sure that the code being committed to your repository is who you expect it to be from. So there you go. Let's talk about intransit versus at rest encryption. So encryption in transit this is data that is secure when moving between locations and the algorithms here are TLS and SSL. Then you have encryption at rest. So this is data that is secure when residing on storage or within a database. So we're looking at AES or RSA which we both covered previously uh these algorithms. So ones that we did not cover was TLS and SSL. So we'll cover them now. So TLS transport layer security is an encryption protocol for data integrity between two or more communic communicating computer applications. So 1.0 and 1.1 are no longer used but TLS 1.2 two and 1.3 is the current best practice. Then we have SSL secure socket layers. So an encrypted protocol for data integrity between two or more communicating uh computer applications. So 1.0, 2.0 and 3.0 are deprecated. Um and honestly I always get these two mixed up and I always figure uh uh get confused which is being used but um you know they're always changing on us but just understand generally what these concepts are and that you're familiar with the terms. Okay. Hey, this is Andrew Brown from Exam Pro and we are taking a look at common compliance programs. So, these are a set of internal policies and procedures for a company to comply with laws, rules, and regulations or to uphold business reputation. So, here we have a bunch of different compliance programs. And so, some popular ones are like HIPPA or um PCIDSS. The question is, should you know these? Yes, you should generally know the most popular ones because you're going to see them throughout your cloud career. Um, and so just getting familiar now is a good time. Uh, so let's jump into it. Okay, so the first one I want to introduce you to is for ISO and they have a bunch of different ones. So ISO is the international organization of standardization and their uh other one called IEC which is the international electrottechnical commission. one deals with uh you know like uh virtual things, the other one deals with hardware things but they have a lot of overlapping um compliance programs. Okay. And so the most popular absolutely most popular one that I know of is the 270100. I know a lot of organizations that are going for their 2701. This is for control implementation guidance. You have the 2707. This is enhanced focus on cloud security. The 2708 this is protection of personal data in the cloud. Then you have the 27701. This is privacy information management system. So PIM's framework. This outlines controls and processes to manage data privacy and protect PII. So that's personally identifiable information. Then you have system and organization control. SOCK and this is a very popular thing that organizations go for especially the SOCK 2. So Soc is 18 standards and report on the effectiveness of internal controls at the service organization relevant to the client's internal control over financial reporting. We have SOCK 2 evaluates internal controls policies and procedures that directly relate to the security of the system at a service organization and SOCK 3 a report based on the trust uh service services criteria that can be freely distributed. Then we have PCIDSS, a set of security standards designed to ensure that all companies that accept process, store and transmit credit card information maintains in a secure environment. We have a federal information procedure standards or FIPS. So 140 hyphen 2. This is US and Canadian government standard that specifies the security requirements for cryptographic modules that protect sensitive information. Then we have uh PHIPA. This is more relevant to me because I'm actually in Ontario and Canada, but it's also very uh well-known um one out there outside of HIPPA. So, this regulates patient protected health information. Then you actually have HIPPA. This is the US federal law that regulates patient procedur. Then we have uh cloud security alliance. So CSA, Star Certification, independent third-party assessment of a cloud provider's security posture. If you've never heard of CSA, they have a very uh well-known fundamental uh security certification called the CSSK or CCSK. I always get that mixed up. Then we have uh Fed RAM, which we covered earlier in this course or in the future depending on where we put it. But um Fed Ramp stands for federal risk and authorization management program. It's a US government standardization approach to security authorizations for cloud service offerings. If you want to work with the US government or places that sell the US government, you need Fed Ramp. The similar to criminal justice information services, any US state or local agency that wants to access the FBI's CGIS database is required to adhere to the CGIS security policy. Then we have GDPR, uh, the General Data Protection Regulation. Everyone knows what this is in Europe, maybe not so much in North America or other places. A European privacy law imposes new rules on companies, governments, agencies, nonprofits, and other organizations that offer goods and services to people in the European Union or that collect analyze data try tied to EU residents. There's a lot of compliance programs out there. One that's also very popular is FIPS, but we'll get to that when we talk about KMS. Um, but yeah, uh, there you go. So, I just wanted to quickly show you here the Adabus compliance programs page where they list out all the types of compliance programs that Adabus is uh working with and that it has different types of certification and assessments which we can use Adabus artifact or Amazon artifact whichever prefix they decide to use for the name there um to uh ensure that IDS has in order to meet those regulatory compliance. So you can see them all there. And if you want to know a little bit more about any of these, you just go ahead and click them and you can read and they have additional information so you have a better idea. Okay, let's talk about pen testing. So pen testing is an authorized simulated cyber attack on a computer system performed to evaluate the security of the system. And on AWS, you are allowed to perform uh pen testing, but um there are some restrictions. So permitted services are EC2 instances, Knack gateways, ELBs, RDS. So that's um relational database service, CloudFront, Aurora, API gateways, Lambda, Lambda edge functions, light cell resources, elastic beantock environments. Things you cannot do or you should not be doing is DNS zone walking via rough hosted zones. Then there's DOS simulation testing. So you should not be doing D do or DOS DD do DOSses or simulated DOSs or simulated DDOSs. Okay. And that doesn't mean that you can't necessarily do them. Uh again, there's a lot of exceptions to the pen testing. They have a whole page on this, but generally you're not allowed to do DDoSing. Uh port flooding, protocol flooding, request flooding, can't do any of those things. For other simulated events, you need to submit a request database. Your reply could take up to seven days. uh you know, again, there's a lot of uh uh little in intricacies here, so you'd have to really read up on it if you're interested in doing this. Okay. Hey, this is Andrew Brown from Exam Pro and we are taking a look at pen testing on the ads platform. So, they have this page here that tells you what you're allowed to do, what you're not allowed to do. Um, and there's some additional things you can read into like the stress test policy, the DOS simula simulation testing policy, which I didn't cover in detail uh in the course content, but if for whatever reason you're interested in it, I just want you to be aware of that kind of stuff. If you want to simulate events, there is a simulate events form that you have to fill out. So, you open it up and you can kind of read about it and it gives a heads up of what you're going to be doing. Stress test, fishing, malware analysis, other. So that way that if you are doing it, you're not going to get in trouble. They're aware of what you are doing. Okay. So that's pretty much it. Hey, this is Andy Brown from Exam Pro and we are taking a look at Adabus Artifact which is a self-s serve portal for ondemand access to Adabus compliance reports. So here's an example of a a bunch of different compliance reports that Adabus could be meeting. And the idea is that when you go to this portal within the adabus management console, you'll have a huge list of reports that you can go and access. So here I'm searching for Canada to get the government of Canada partner package. And then I go ahead and I download that report as a PDF. And then within the PDF we can click a link to get the downloadable Excel. And that's pretty much what it is. It's just if you want to see that AWS is being compliant for different programs. Hey, this is Andrew Brown from Exam Pro and we're going to take a look at Adabus artifact. So in the top here, we're going to type in artifact and not to be confused with code artifact, which I guess is a new service. There's just always a new services, eh? And so here we have a video and some things, but it's not too hard. All we got to do is go to view reports. And from here we have all the types of compliance programs or regulatory compliance programs that ads is uh meeting and we can do is search for something. So we can type in Canada and that's the government of Canada partner package and I can go ahead and download that report. So, when you download it, you really want to open this up in um you're going to really want to open this up in um Adobe Acrobat because if you don't open it up in Adobe Acrobat, you're not going to be able to access the downloadables within it. I know that's kind of uh odd to say, but that's just what it is. You do have to install Adobe Acrobat Reader. And once you have it open, and I'm just moving it over here, this is what you're going to see. And um it's going to say like, hey um oops, no I don't want to do that. So please scroll to the next page to view the artifact download. And so I think that if we go here, you know, they say scroll to the next page, but I'm pretty sure we can just go here on the lefth hand side. And this is what we're looking for, that Excel spreadsheet. So we're going to save that attachment or actually we just going to open it up. Open this file. Okay. And we'll give it a moment. I have Excel installed. And there we go. There it is. Okay. So, I know it's a little bit odd way to get to those um uh certificates or reports, but that's just how it works. Um but yeah, I mean that's the idea is like if you need to prove that adus is meeting whatever those standards are, you can just type them in whatever it is. I mean like maybe there's like fed ramp, right? Whatever it is, and download those certificate assessments, whatever. um and just double check that Adabus is meeting those standards. Okay. Hey, this is Andrew Brown from Exam Pro and we are taking a look at AUS Inspector. But before we can answer what it does, let's talk about hardening. So hardening is the act of eliminating as many security risks as possible. Hardening is common for virtual machines where you run a collection of security checks known as a security benchmark. So, Adabus Inspector runs a security benchmark against specific EC2 instances and you can run a variety of security benchmarks and you can perform network and host assessments. And so, here's an example of those two check boxes there which you'd say which assessments you want to do. So, the idea is you have to install the ads agent on your EC2 instance. You run an assessment for your assessment target. You review your findings and remediate security issues. And one very popular benchmark you can run is the CIS which has 699 checks. So, if you don't know what CIS, it stands for the center of internet security. Uh, and so they are this organization that has a bunch of um uh security controls or check marks uh that are published that they suggest that you should check on your machine. Hey, this is Andrew Brown from Exam Pro and we're looking at DDoS. So, DDoS is a type of malicious attack to disrupt normal traffic by flooding a website with a large amount of fake traffic. So the idea is we have an attacker and the victim. The victim is us and it could be our virtual machines, our cloud services. The idea is that it's some kind of resource which um can take in uh incoming requests over the internet. So the idea is the attacker is utilizing the internet and so they may control a bunch of uh virtual machines or servers that are loaded up with malicious software and the idea is that the attacker is going to tell them all to send a flood of traffic over the internet. uh at your uh computing resource and uh this is where your website is going to either start to stall or it's going to become unavailable for your users. And so the idea here is that you know if you want to protect against DOS you need some kind of DDoS protection. Traditionally those used to be like thirdparty services that you uh would have to pay for and the and it would sit in front of uh your load balancer or your uh end server. But now the great thing with cloud service providers is that generally their networks have built-in DOS protection. So the idea is just by having your compute or your resources on AWS, you're going to get uh built-in protection for free via ads shield and we'll talk about that next. Hey, this is Andrew Brown from Exam Pro and we are taking a look at ads shield which is a managed DDoS protection service that safeguards applications running on AWS. So when you route your traffic through RFD3 or cloudfront you are using shield standard. So here's a diagram to kind of show you that it's not just those services but these are the most common ones where you'll have a point of entry into AWS. So here we could also be including elastic IP. ads global accelerator. But the idea is that when you uh go through these services into the ads network, it has shield built in. And so you're going to get that protection before those uh before that traffic reaches your uh cloud services. And in this case, we're showing uh EC2 instances. So adabus shield protects against layers three, four, and seven attacks. Uh layer three, four, and seven is based off the OSI model, which is a um a fundamental networking concept. So seven is for the application layer, four is the transport layer, three is the network layer. Um there are two different types of plans for shield. We have shield standard which is free and then shield advance which starts at 3,000 USD per year plus some additional uh costs based on usage of the size of the attack or what services you're using, how much traffic is moving in and out. So protection against the most common DOS attacks is what shield standard does. Uh you have access to tools and best practices to build DOS resilient architecture. It's automatically available on all adabus services for additional protection against larger and more sophisticated attacks. That's where shield advance comes into play. It's available for specific adabus services. So ref cloudfront elbas global accelerator elastic IP. Uh and some notable features here is visibility reporting on layer three, four and seven. You're only going to get seven if you are using ADS W with it. Uh you have access to team and support. So these are DOS experts, but you're only going to get it if you're paying for business or enterprise support as you're paying for this as well. Uh you also get DDoS cost protection to ensure that you know your bills don't go crazy. Uh and it comes with an SLA so you have a guarantee that it's going to work. Both plants integrate with adabus web application firewall. So WFT to give you that layer 7 application protection. So understand that if you're not using WFT, you're not going to be having that layer 7 protection. Okay. Hey, this is Andrew Brown from Exam Pro and we are looking at Amazon Guard Duty. So before we look at that, we need to understand what is an IDS IPS. So an intrusion detection system and intrusion protection system is used as a device or software application that monitors a network or systems for malicious activity or policy violations. So guard duty is a threat detection service which is IDS IPS that continuously monitors for malicious and suspicious activity and unauthorized behavior. It uses machine learning to analyze the following adabus logs. your cloud trail logs, your VPC flow logs, your DNS logs, and what it will do is report back to you and say, "Hey, um, there's this issue here, and this is actually one that's very easy to replicate. It's just saying somebody is using the root credentials, and it's suggesting that you should not be doing that, right? Because you're never supposed to be uh invoking API calls with the root credentials or you should be limiting that." You'll might also notice that if you want to investigate, you can kind of follow up that with uh Amazon detective or adabus detective, whichever uh prefix they decided to put on that service, it will alert you of findings, which you can automate an incident uh response via cloudatch events, which this uh it's been renamed to event bridge, just so you know, or thirdarty services. So, you can follow up a remediation action. Um, and here is a graphic of Amazon Guard Duty just a bit up closer so you can see all the findings and you can just see you have a lot of detailed information there. Okay. Hey, this is Andrew Brown from Exam Pro and we're going to take a look at Guard Duty. So, Guard Duty is um an intrusion protection and detection uh service. And so, what I've done is I've um done some bad practices purposely so that I can show you um some information in there. So, I'm going to go over to Guard Duty. Okay. And you do have to turn Guard Duty on. And so, once Guard Duty is on, you're going to start getting reports coming in. So, notice here that we have some anomalous behavior eight days ago. And so, uh, that's Beo. He's my co-founder. He's also named Andrew as well. And so, we can kind of see some details here about who's accessing what and what they were doing. He's not doing anything malicious, but we can have an idea where they're from. even shows uh generally where he is which he is near Thunder Bay and his his provider would be TBEL. Um and you can see that he is making uh API calls to the scribe account attributes and things like that. Then the other issue is the root account. So there's MFA. I turned it off so that we can or maybe it's just usage here. I actually do have it turned on I suppose. Here we see root credential usage. And so it's saying, "Hey, you used it 77 times because sometimes I go in and and use uh the root account for tutorials, but saying you're using this way too much. You got to stop doing that." Okay, so that's something that is uh pretty interesting with Guard Duty. Um and it's really cost effective and easy to turn on. So you can turn it on. Looks like they have a new thing for S3. Um have not looked at that as of yet, but that's kind of cool. kind of feels like that would overlap with uh Amazon Macy, but whatever. And here we get a breakdown of cost. So we see cloud trail, VPC flow logs, DNS logs, and this is where it would be ingesting data. If you want to use that S3 protection, you'd have to probably be turning or creating a custom cloudatch trail that has data events to consume that information. Um, you know, so you know, hopefully that gives you kind of an idea of things you can do. And you can also centralize Gard Duty uh into one account. So you can have one thing that takes care of everything and and move all the data across all your accounts into a single place. So that's kind of interesting. And you can set up follow follow-ups. Um and it's possible that uh I'm not seeing this this here, but generally it would show you uh it would show you a way of like triggering into cloudatch. Probably you could do it programmatically. This is something interesting like the list management. You can add trusted IPs or threat list. So if there's people that you know are fine, you can just whitelist them. Or if there's people that you know that are bad, make sure that they are never allowed to get through. So that's pretty much it with Guard Duty. Okay. Hey, this is Andrew Brown from Exam Pro and we are taking a look at Adus virtual private network, also known as VPN. So AdusVPN lets you establish a secure and private tunnel from your network or device to the Adabus global network. It's very important to emphasize the word secure here. Uh because when you're using direct connect that will establish a private connection, but it's not using any kind of protocol to secure that data in transit. Whereas advpn will be using a secure protocol. There are two options here. We have adabus sightto-sightVPN. So securely connect on premise network or branch office site to VPC and adabus clientVPN. to securely connect users to AWS or on premises networks. Uh one thing that we need to understand alongside VPNs is IPSE. This stands for internet protocol security and it is a secure network protocol suite that authenticates and encrypts the packets of data to provide secure encrypted communication between two computers over an internet protocol network and it is used in VPNs and ABS definitely uses it. Okay. Hey, this is Andrew Brown from Exam Pro and we are taking a look at AIUS web application firewall also known as WFT which protects you uh protects your web application from common web exploits. So the idea here is you write your own rules to allow or deny traffic based on the contents of an HTTP requests. You use a rule set from a trusted adabus security partner in the Adabus WFT rule marketplace. WFT can be attached to either CloudFront or an application load balancer. So here is that diagram. The idea is you see CloudFront with the WFT or ALB with the WFT. And what it does is it can protect uh web applications from attacks covered and the OAS 10 uh top 10 most dangerous attacks. If you don't know OAS, they're the open web application security project. And they basically have all these uh security projects which are things to say hey these are things that you should commonly protect against or they might have like example applications that uh serve as a means to learn security. So when we look at the top 10, it's injection, broken authentication, sensitive data exposure, XML, external entities, so XXE, broken access control, security misconfigurations, cross-sight scripting, so XSS, uh insecure des serialization, using components with known vulnerabilities, and insufficient logging and monitoring. So there you go. Hey, this is Andrew Brown from Exam Pro and we are going to take a quick look at Adabus web application firewall, also known as WFT. And so, um, in this account, I happen to have a WFT running. Uh, so we don't have to create one. Uh, we already have something we can take a look here. So, I'm going to go to WFT and shield. And then on the left hand side, you'll notice it's a global service, but on the lefth hand side, we're going to be looking for our web ACL's. And so the idea is that when you want to w you create a web ACL and then within within that web ACL you have uh the overview and then you have it can kind of show you kind of the traffic that's going on here. We can have our rules and so there's a lot of different kind of managed rule groups that you can use. So these are ones that are provided by AWS. So and a lot of these some of these can be paid, some of these are free. So you see there's these free rule groups where you're like hey I don't want any anomous IPs. see checkbox that on you know or I want to protect against SQL injection. Now the interesting thing is that AIS has this capacity unit. So um you can't add all of these. You can add a certain amount of capacity before you have to um um pay for more or something like that. It's just kind of a way to um uh kind of cap the amount of stuff that you can put in in terms of rules. Um, but there's a lot of other um, rule groups from thirdparty services like security companies that know what they're doing. So, if you like Fortnet's OS top 10, you can uh, subscribe to that in the marketplace and be able to use it. But, uh, yeah, so that's how you apply rules. There's something called bot control. I've never used this before. Get real-time visibility into bot activity on your resource and controllers. What bots allow and block from your resources. That sounds really cool. I cannot stand bots. So, I might turn that on myself or take a look at the cost there and see what we can find out. But that's pretty much it with WFT. Um, one thing I would say is that you can block out specific IP addresses or whitelist specific IP addresses. And you might do that through rules. I'm just going to see. Yeah, like maybe the bypass here. And so these IP addresses are some of our um cloud support engineers where they're using our adid panel and um uh WFT is being too aggressive in terms of protection and so sometimes you have to uh say hey allow this IP address and let my um you know let my cloud uh support engineer be able to use the mid panel because they're not malicious. Okay. So that's one little exception there but that's pretty much it. Okay. Hey, this is Andrew Brown from Exam Pro and we are taking a look at hardware security modules, also known as HSM. And it's a piece of hardware designed to store encryption keys and it holds keys in memory and never writes on the disc. So the idea is that if the HSM was shut down, uh that key would be gone and that would be a guarantee of protection because nobody could, you know, take the drive and steal it. So here is an example of an HSM. Uh these are extremely expensive, so you definitely don't want to have to buy them yourselves. Uh they generally follow FIPS. So FIPS is the federal information processing standard. So it's a US and Canadian government standard that specifies the security requirements for cryptographic modules that protect sensitive information. FIPS is something you want to definitely remember. Um and there are two different um protocols here. There's actually a bunch of different uh FIPS versions, but we have FIPS 142 level two and then FIPS 143 level 3. So, let's talk about the difference here. So, HSM that are multi-tenant are going to be using FIPS 142- 2 level two compliant where you have multiple customers virtually isolated on the HSM. And then there are HSMs that are single tenant and so they're going to be utilizing FIPS 140-phen 2 level three compliant. So a single customer on a dedicated HSM. And so the reason why we have these two levels is that when you have multiple tenants, you can say, "Oh, right. This thing is uh has temper evidence." So we can see that somebody was trying to break into it, but there's no guarantee of uh tamp it being tamperproof. where level three is tamperproof. There's also uh FIPS 140 hyphen 3 which is the new uh the newer um standard but not all uh cloud resources uh can meet that standard just because of how they offer the service. Uh, so again, FIPS 142 is really good, but just understand that there are other ones out there. And it's very easy to get FIPS 142 level three mixed up with FIPS 140-3, something that I always had um a hard time uh remembering the distinguishing between those two. So for multi-tenant, this is where we're using Adabus key management service. And for single tenant, we're using Adabus Cloud HSM. And the only time you're really using cloud HSM is if you're a large enterprise and you need that regulatory compliance of getting FIPS 140 Haven to level three. Okay. Hey, this is Andrew Brown from Exam Pro and we are taking a look at key management service also known as KMS and is a managed service that makes it easy for you to create and control the encryption keys you use to encrypt your data. So KMS is a multi-tenant HSM. So it's a hardware security module and many adabus services are integrated to use KMS to encrypt your data with a simple checkbox and K KMS uses envelope encryption. So here's that example of a simple checkbox. In this case it's for RDS and what you'll do is choose a master key. A lot of times ads will have a default for uh key for you that's managed by them that is free to use which is really great. Uh so for KMS it's using envelope encryption. So when you encrypt your data, your data is protected, but you have to protect your encryption key. When you encrypt your data key with a master key as an additional layer of security. So that's how it works. So just to make this really clear, I have my data. I use this key to encrypt this data. And now I need to protect this key. So I use another key to encrypt uh this key which forms an envelope. And then I store this uh master key in KMS. And this one's considered the data key. All right. Hey, this is Andrew Brown from Exam Pro and we're going to take a look at key management service, also known as KMS. So, type in KMS on the top here and we'll pop over here and KMS is a way for you to create your own keys or you can use Adabus manage keys. So, up here and not all these appear right away, but as you use services, um you will Adabus will generate out manage keys for you and these are free. You can uh create your own keys. Um and these cost a dollar each. So if I go ahead here and create a key, I can choose whether it's symmetric or asymmetric, which we definitely learned in the course, which is nice. For asymmetric, you can make it encrypt and decrypt. Sign and verify. And they're just kind of narrowing down the type of key you would use. Um for this, you know, if I went to symmetric, I go here. I'm just kind of seeing if I can enter the uh actual material into the key here. Um so I'm just going to keep clicking through here. uh my custom key. Generally, you don't really need to do this, but um you know, if it's interesting, you can set up administrators to say who's allowed to administer the key. And then you have someone that um is allowed to use the key. And you usually want to keep those two accounts separate. You don't want to have the same person administrating and using the key. Okay? Keep those two separate. And so we would have a key policy. So you can change this to say the rules that is allowed to use. Um and then we can go here and hit finish. And so there we now have our own custom key. And one thing we can do is it's possible to rotate out these keys when you need to be. Um, but anyway, when we want to use KMS, it's built into basically everything and we've seen it multiple times throughout this course. When we've gone over to EC2, we'll just go take a peek at a few different places here. So when we've gone to go launch an EC2 instance and we go over to uh storage, we say select and review or next. And we go over to storage. Notice that here this is using encryption, right? So I can choose that or even my custom key. If you're in Dynamob or anywhere else, it's always something like a checkbox and you choose your key. So that's pretty much all there really is to KMS. It's very easy to use and there you go. Hey, this is Andrew Brown from Exam Pro and we are going to take a look here at cloud HSM. It is a single tenant uh HSM as a service that automates hardware provisioning, software patching, high availability and backups. So here's the idea is that you have your ad as cloud HSM. You have your developers interacting with it, your application interacting with it. You have an HSM client installed in your uh EC2 instance so that it can access uh the cloud HSM keys. So Adabus cloud HSM enables you to generate and use your encryption keys on FIPS 140-2 level 3 validated hardware. It's built on open HSM industry standards to integrate with things like PK uh CS1 Java cryptography uh extensions. So JCE Microsoft crypto and G libraries. You can transfer your keys to other commercial commercial HSM solutions to make it easy for you to migrate keys on or off AWS. configure Adabus KMS to use Adabus cloud HSM uh cluster as a custom uh key store rather than the default KMS key store. Uh so cloud HSM is way more expensive than KMS. KMS is like free or a dollar per key where cloud HSM is a fixed cost per month because you are getting a dedicated piece of hardware. Um and there's not a lot of stuff around it. So other than the ads KMS integration, a lot of times it can be really hard to use this as well. So the only time you're really going to be using cloud HSM is if you're an enterprise and you need to meet FIPS 140-2 level 3 compliancy. Okay. Hey, this is Andrew Brown and we are taking a look at Adabus Security Hub. It is a cloud security posture management system, a CSPM, which allows you to generate out a security score to determine your security posture. And the way way it works is that you'll enable these security standards which are a collection of security controls which in turn are AIS config rules. If you have seen conformance packs and config rules and wondering if they're the same thing, they possibly are the same thing. But the key difference is that security hub has um an additional layer of providing you a a security standard score um with a bunch of uh uh graphics uh or what do you call it? um graphs or charts like you have a pie chart there um and you can investigate each finding. So that's pretty much what it does. Um so yeah, there you go. Adabus audit manager uh is used to continually audit your ad as usage to simplify risk and compliance assessments. Um and the way it works is that it has framework libraries and control libraries. So the idea is that you will choose a framework library such as sock 2 and that will uh set you up with a bunch of um controls and these things actually can be backed by adabus config and other places if you decide to integrate adabis config or ad security hub security hub is using ads config so it all comes back to ads config. Uh what's nice is that you can create assessments to review uh the evidence collected and then generate an assessment report. At first, this service looks very similar to AD as security hub. Um, but the key difference is that AD security hub is producing a security score, whereas the audit manager is about creating assessments to review against a specific compliance standard. So, in the lab, I'm a bit confused at the start, but then it clicks because I realize that I'm looking at something that's kind of like a service like Vanta. The the only thing though that you have to understand with these framework libraries is that you can implement them. But if you don't have a thirdparty auditor, then they don't necessarily meet that standard. So those who just maybe have never done SOCK 2 or um the ISO uh framework standards, I can't remember the code off the top of my head. Um it's not as simple as just utilizing this. So you can do it um and and technically meet the requirements, but you will not meet compliance unless you are working with a third party. Okay. as firewall manager allows you to centrally configure and manage firewall rules across accounts and applications and ads services uh that can be managed under the service would be adus w classic shield advance security groups network access controls adus network firewall Amazon rep3 resolver DNS firewall and no there's not a double A in here that's just my mistake I apologize cross that um and third party firewall services. And the interesting thing about the service is that when you go to configure any of these uh it's completely different. So like this is an example for for security groups and it shows you some policy rules that you can select. But this thing is wildly different based on each service that you are creating a um a rule for. This service is I would describe as expensive at least. I don't want to spin one up uh in the lab because uh Bea would be like why are you spending $50 for uh you know such a simple rule but we do go and look at how they vary and things like that even though we don't actually create a rule in the lab there are some prerequisites here so your account must be a member of the ads organization your account must be the ads firewall manager administrator you must have ads config enabled to uh for your accounts in a region um and you might need to have RAM enabled as well for specific uh security firewall services. I suspect that when you use a service, it's creating ads config rules. I'm noticing that there's a lot of security services where adabs will just leverage ads config underneath and make a layer on top of it and then charge an ungodly amount. Uh so I almost feel like you could just make ads config rules if you really wanted to um uh enforce compliance for specific configurations, but this is a service. So yeah, there you go. Hey, this is Andrew Brown from Exam Pro and we are taking a look at know your initialism. So, a lot of adabus services and concepts and cloud technologies use initialisms to just kind of shorten uh common things that we need to use on a frequent basis. And it's going to really help if you learn these because then what you can do is substitute them when you are uh seeing a service name or something in particular. And that's going to get you through content a lot faster. Um, and in the wild, you're going to see these all over the place because people aren't going to say the full name. They're going to say the initialism. So, let's go through them. So, for it's identity and access management. For S3, that's simple storage. For SWF, it's uh SWF, that's simple workflow service. SNS is simple notification service. SQS is simple Q service. SCS is simple email service. SSM is simple systems manager but uh you know when we see the name it's usually just systems manager but we still use the uh initialism SSM then there's RDS relational database service VPC virtual private cloud VPN virtual private network CFN cloud for WAF web application firewall and that is a very common initialism not just native bus but outside of it as well MQ for Amazon active MQ ASG for autoscaling groups. TAM for technical account manager. ELB for elastic load balancer. ALB for the application load balancer. NLB for the network load balancer. GWLB for the gateway load balancer. CLB for the classic load balancer. EC2 for elastic cloud or cloud compute. ECS for elastic container service. ECR for elastic container repository. EBS for elastic block storage. EMR for uh elastic map produce. EFS for elastic file store. EBS or EB for elastic beantock. ES for elastic search, EKS for elastic kuberneti service, MSK for managed Kofka service. And if you think I got the S and K backwards, I did not. For whatever reason, it's msk. Uh then uh there's resource manager which is known as RAM, ACM for Amazon certificate manager, POPL for principle of lease privilege which is a concept not a service. IoT, Internet of Things. This is not a service, but is a tech concept or cloud concept. RARI for reserved instances. And I'm sure there are more, but these are the ones that I know off the top of my head. Uh, and they're in my uh usual use case uh for what I'm doing day-to-day, but a lot of times you'll probably just end up needing to remember ASG, ELB, um, EC2, S3, things like that. Okay. All right. All right, let's compare ads config and app config which both have config in the name but they are two completely different services. So ads config and app config. So ads config is a governance tool for compliance as code. You can create rules that will check to see if resources are configured the way you expect them to be. If a resource drifts from the expected configuration, you are notified or ads config can autorediate correct the configuration back to the expected state. For app config, it is used to automate the process of deploying application configuration variable changes to your web application. You can write a validator to ensure uh the changed variable will not break your web app. Uh you can monitor deployments and automate integrations to catch errors or roll back. So config is for compliance governance. App config is for config application configur configuration variables. So there you go. Let us take a look at SNS versus SQS. And uh these things have something in common and it's they both connect apps via messages. Uh so they're for application integration. So let's take a look at SNS. So simple notification service and then simple Q service. Okay. So SNS is intended to pass along messages via a pub sub model whereas SQS cues up messages and has a guaranteed delivery. So the idea with SNS you send notifications to subscribers of topics via multiple protocols. So it can be HTTP, email, SQS, SMS and SNS is generally used for sending plain text emails which is triggered via other ad services. The best example here is billing alarms. I know we mentioned this but I like to repeat it so that you absolutely know. Uh it can retry sending in the case of failures of HTBS's. So it does have a retry attempt but that doesn't mean there's a guarantee of delivery. It's really good for web hooks, simple internal emails triggering lambda functions. If you had to compare these to thirdparty services, it's similar to pusher or uh pubnub. So SQS is uh the idea here is that messages are placed into a queue. Applications pull the queue using the adabus SDK. You can uh uh retain a message for up to 14 days. You can send them in sequential order, sequential order or in parallel. You can ensure only one message is sent. You can ensure messages are delivered at least once. It's really good for delayed tasks, queuing up emails. Um, comparable uh stuff would be something like Rabbit MQ or uh Ruby on Rails Sidekick. Okay. Hey, this is Andy Brown from Exam Pro and we're doing variation study with SNS versus SCES versus Pinpoint versus Workmail. And so SNS and SCS get confused uh quite often, but all of these services uh have something in common. They all send emails but uh the utility of email is completely different for each one. So the first one is simple notification service is for practical and internal emails. So you send notifications to subscribers of topics via multiple protocols. So it's not just for email. It can handle HTTP. It can send to SQS. It can send SMS me or SMS messages. So um messages to your phone. Um but uh it does send emails. And so SNS is generally used for sending plain text emails which is triggered via other AWS services. The best example of this is a billing alarm. So most exam questions are going to be talking about SNS because lots of services can trigger um SNS for notifications. And so that's the idea. It's like oh um you know did somebody spin up a server send off an email through via SNS. Uh did we spend too much money here? you know all sorts of things can go through SNS to send out emails and you need to know what are topics and subscriptions regarding SNS then you have SCES so simple email service and this is for transactional emails and when I say transactional emails I'm talking about emails that should be triggered based on inapp actions so sign up reset password invoices um so a cloud-based email service that is similar to this would be like send grid SCS sends HTML emails. Uh SNS cannot. So that is the distinction is that SCES can do HTML and plain text but SNS just do does plain text and you would not use SNS for transactional emails. SCS can receive inbound emails. Uh SCS uh can create email templates, custom uh domain name emails. So when you use SNS, it's whatever Amazon gives you. It's going to be some weird address, but SCS is whatever custom domain you want. You can also monitor email reputation for SCS. Then you have Amazon Pinpoint. And so this is for promotional emails. So these uh when we say promotional, we're talking about emails for marketing. So you can create email campaigns. You can segment your contacts. You can create customer journeys via emails. Um it can do a email testing. And so SCS and Pinpoint get mixed up because a lot of people think, well, can I just use my transaction emails for promotion emails? Absolutely you can. It's not recommended because um you know Pinpoint has a lot more functionality around promotional emails. They're built differently. Uh and so you know just understand that those two have overlapping responsibilities but generally you should use them for what they're for. Then you have Amazon Workmail and this is just an email web client. So it's similar to Gmail or Outlook. You can create company emails, read, write and send emails from a web client within the ads management console. So there you go. Let us compare Amazon inspector versus adabus trusted advisor. So both of these are security tools and they both perform audits but what they do is slightly different. So Amazon inspector audits a single EC2 instance that you've selected or I suppose you could select multiple EC2s. It generates a report from a long list of security checks. Um, and so trusted advisor has checks, but uh the the key difference here is that it doesn't generate out a PDF report, though I'm sure you could export CSV data if you wanted to and then turn that into a report. Uh, it it gives you a holistic view of recommendations across multiple services and best practices. So, for example, if you have an open port on the security groups, it could tell you about about that. You should enable MFA on your root account when using trusted advisor, things like that. Um, one thing though is that trust adviser isn't just for security. does checks across um uh five different things. Um but they both do security and they both technically do checks. Okay, so there are a few services that have connected the name. You'd think they would be related in some way, but they absolutely are not and they don't even have similar functionality. But let's take a look here so we know the difference. The first is direct connect. It is a dedicated fiber optics connection from your data center to AWS. It's intended for large enterprises with their own data center and they need an insanely fast and private connection directly uh to AWS. And you'll notice I give private and emphasis because if you need a secure connection, you need to apply uh an adabus virtual private network connection on top of direct connect. Then you have Amazon Connect. This is a call center as a service. Get a toll-free number, accept inbound and outbound calls, set up automated phone systems. Uh so if you ever heard of an interactive voice system at IVS this is basically what Amazon connect is. You have media connect. This is the new version of elastic transcoder. It it converts videos to different video types. So if you have let's say a thousand videos you need to transcode them into different video formats. Maybe you need to apply watermarks insert introduction videos in in front of each one. This is what you use media connect for. Okay. Just in case you see elastic transcoder as an option, I just want you to know what it is compared to media connect. So both these services are used for transcoding and technically elastic transcoder is the old way and ads elemental media convert or just media convert is the new way. So elastic transcoder was the original transcoding service. It may still have programmatic APIs or workflows not available in media convert. So this could be reasons why we see the legacy customers still using it or you know it's just too much effort for them to upgrade to the new one. It transcodes videos to streaming formats. Uh media convert is more robust transcoding service that can perform various operations during transcoding. So it also transcodes videos to streaming different streaming formats but it overlays images. It inserts uh video clips, extracts captions data. It has a robust UI. So generally it's recommended to use the uh media convert. Terms of costs are basically the same. So there's no reason not to use media convert. Okay. So adus artifact versus Amazon inspector get commonly mixed up all the time but both artifact and inspector compile out PDF reports. So that's where the confusion comes from. But let's talk about what is different about their reports. So AIS artifact and AIS inspector. So for artifact you're answering why should an enterprise trust AWS. It generates a security report that's based on global compliance frameworks such as SOCK or PCI or a variety of others where Amazon Inspector is all about how do we know the EC2 instance is secure. Can you prove it? So it runs a script that analyzes your EC2 instance then generates a PDF report telling you which security checks had passed. Um so the idea here is it's an audit tool for security of EC2 instances. So there you go. So let us compare ELB versus ALB versus NLB versus JWLB versus CLB. Uh because you know when I was first learning AWS I was getting confused because there was elastic load balancer but then there was these other ones. So what gives right? So what's happening here is that there is a main service called elastic load balancer elb and it has four different types of possible load balancers. So we'll go through all the types. So the first is application load balancer commonly uh initialized as ALB and so this operates on layer 7 for HTTPS. This makes sense because that is the application layer and it has some special powers in terms of routing rules. So the idea here is you can create rules to change routing based on information found within the HTBS request. So let's say you wanted some uh routes to go that have a particular subdomain to this server and a different subdomain to another one. You could do that and because it is an application load balancer uh you can attach a web application firewall for protection. You can't attach this on the NLB or other ones because they're not application based. So that is just a little caveat there. Then you have network load balancer uh commonly abbreviated to NLB. This operates on layer three and four. So we're talking TCP UDP. This is great for when you have extreme performance that that requires T TCP and TLS traffic. It's capable of handling millions of requests per seconds uh while maintaining ultra low latency. It's optimized for sudden and volatile traffic patterns while using a single static IP address per availability zone. Uh if you're making video games, this is what they like to use is the network load balancer, but it has other utilities outside of that. Then you have gateway load balancer, GWLB. This is when you need to deploy a fleet of thirdparty virtual appliances that support uh I don't know how to say that in abbreviation but I'll just uh say it's g neve. Um and there's not much we need to know outside of that. Okay. Then there is the classic load balancer. Uh commonly initializes clb. This operates on layer 3, four, and seven. It's intended for applications that were built within the EC2 classic network. It doesn't support target groups. So ALBs, NLBs, uh use target groups, which is just an easier way of grouping together um a bunch of uh target resources like compute uh that we're going to load balance to. And with classic load balancer, you just directly assign EC2 instances. Uh and it's going to be retired on August 15th of 2022. So yeah, it looks like it can do a lot of stuff, but um it also doesn't have any of the superpowers of these specialized ones and so uh there's no reason to keep it around and generally you should not be using it. Um, and so yeah, that's about

Generated algorithmically for Search Engine Indexing.

Summarize Another Video