DEMO: AWS Service Catalog


Course Introduction
Amazon CloudWatch
AWS Config
What is AWS Config?
AWS Control Tower
AWS Control Tower
PREVIEW19m 56s
AWS Resource Access Manager
AWS Management
AWS Service Catalog
PREVIEW10m 34s
AWS Trusted Advisor Best Practices
AWS Health Dashboard
AWS Data Visualization
Finding Compliance Data with AWS Artifact
Observability in AWS
Start course
6h 2m

This section of the AWS Certified Solutions Architect - Professional learning path introduces the AWS management and governance services relevant to the AWS Certified Solutions Architect - Professional exam. These services are used to help you audit, monitor, and evaluate your AWS infrastructure and resources and form a core component of resilient and performant architectures. 

Want more? Try a Lab Playground or do a Lab Challenge!

Learning Objectives

  • Understand the benefits of using AWS CloudWatch and audit logs to manage your infrastructure
  • Learn how to record and track API requests using AWS CloudTrail
  • Learn what AWS Config is and its components
  • Manage multi-account environments with AWS Organizations and Control Tower
  • Learn how to carry out logging with CloudWatch, CloudTrail, CloudFront, and VPC Flow Logs
  • Learn about AWS data transformation tools such as AWS Glue and data visualization services like Amazon Athena and QuickSight
  • Learn how AWS CloudFormation can be used to represent your infrastructure as code (IaC)
  • Understand SLAs in AWS

All right, so how about we take a look at the service and action so you can get a good idea how the whole thing works. So I'm logged in here and you can see I don't have any products available for me as an end-user, and I also don't have any products available as an admin. So one of the first things we wanna do is maybe create a product for ourselves. In here I'm gonna type in the name of the product that I wanna make, a brief description that I'm gonna spell correctly. Here we go. Cool stuff.

All right. And it's always important again to add the owner for your products. Products again, are added simply by adding a CloudFormation template, I just popped it in here. And make sure you give it a nice a version title. Simple Arch will do for us. And down here, you can have some more support details, but honestly I think this is good enough. So let's just review our product that we've made. And that looks cool. So success, our product's been created. And again this was just using a simple CloudFormation template that you've previously added and you like. And you can see here my first product is ready. So of course we have a product, we need to put in a portfolio for it to be accessible.

So let's make a portfolio for our arch people and our arch stuff. So arch stuff for my developers. This is a good example here. And then make sure you have the owner as yourself or whoever you want to be the full-time manager of that product and portfolio. And you'll see here that we've created the portfolio, we gotta make sure we add the product to it. And boom, alakazam. We have a portfolio with a product. There is a little bit of a final touch though. We have to make sure we can add people to the portfolios that way they can actually see it on the end-user side. So I'm just going to add all my developers here and then add them in. 

And so now if you remember correctly we couldn't see the products before but if I... Oh, you see, I'm a developer here. And see if I go over to products, now I can see a product here in my window when previously I couldn't. Well, we have no provision products at this time. So how about we go ahead and provision a product for us to use. So since I have access to my first product let's go ahead and click in here. And this is the simple arch that we uploaded earlier.

So let's go ahead and click launch product. It's really just this simple. Type in the name you want to have this stack be called. We're gonna call this our test arch, make sure we're using the version we want. There's only one version so doesn't matter and associate any tags with it that are relevant. So like a cost tag and we're the DevTeam today. So DevTeam always runs up the biggest cost. So that's good. Yeah that's probably good. And then down here, you can have event notifications enabled if you want and SNS topics that you can choose from or create, but that's not needed for us. Let's just go and launch this product.

If you look around here you can see we've got information about the product itself as well as some of the provisioning details down here. And it's still updating. You can see the status there but you can also check the CloudFormation template here. It's a literally just building it with CloudFormation just as you would normally do outside of service catalog. And you can see all this cool information here and all the relevant tags down here at the bottom. You can see it auto-populates some information, but our tags down there that we put and you can to the events to see how much of the CloudFormation template's been created already and what it's currently waiting for and all the resources that have been built and developed on your behalf while building this product. Well, very cool. Just to give it a quick refresh here. It doesn't look like it's quite ready, but that's okay. We'll just go ahead and move back over into service catalog and we can check out things from that end of the field.

So again, if you look over here in provisioned products you can see ours is starting to be built here. Oh, and it's done, would you look at that. Let's go ahead and click into it. And it's just everything you would suspect, got our more information here about the product itself. And you can check this all out. If you have access to this as an end-user, all this stuff has been built right into your account. And you can see here in EC2 that it's spinning up those instances that the CloudFormation template had prescribed. Well, that's very cool. Let's go ahead and head back now.

Now let's say you as an admin didn't want your people to have access to the EC2 but you did want them to have some particular abilities with it. You could use these service actions as we described earlier. And it's really as simple as in here like maybe I want them to be able to restart any EC2 instance and you can click here with or without approval. I think that's super cool. And then you can say, all right well we'll give them a instanceId and they can target themselves. And it'll reset it for us. And yeah, that's literally it. You just associate that action with the service action and it's ready to go. And you can say this service action can be used on our simple architectures or in the products available for 'em.

So let's go give it a try here with our test arch. And if we check inside we should be able to see actions here. And look, we have our restart EC2 action and it's got all of the instances available for us and screw it, let's just restart all of them but you of course could just restart one and delete the extra information and boom, it's gonna go ahead and do that for you in the background. And this would function totally fine without giving the developers access to EC2 if that was your pleasure. Then we click over here into EC2 instances. You can see one of them has come back online since I got over here. Let's give it a couple refreshes. See if they all come back online. Oh, and there we go. Now all of them are initializing, but they did restart. So that's super nifty. Awesome blossom.

All right. Let's head back over to service catalog. And let's say we're done playing around with our architecture so it's probably time to get rid of it. So it's very simple. You just click on this thing and you go up to actions... Oh terminates blocked right now 'cause we're restarting the instances. So there we go. Let's refresh and now we should be able to have access to it. Bam, there we go. So now we can just terminate it. It's just like terminating and killing a normal CloudFormation template. It just tries to roll everything back and it will do that for you here in the background. So let's give it a moment and voila, there we go. Success. Well, I hope you enjoyed this quick little demo. Thanks for watching.

About the Author
Learning Paths

Danny has over 20 years of IT experience as a software developer, cloud engineer, and technical trainer. After attending a conference on cloud computing in 2009, he knew he wanted to build his career around what was still a very new, emerging technology at the time — and share this transformational knowledge with others. He has spoken to IT professional audiences at local, regional, and national user groups and conferences. He has delivered in-person classroom and virtual training, interactive webinars, and authored video training courses covering many different technologies, including Amazon Web Services. He currently has six active AWS certifications, including certifications at the Professional and Specialty level.