Offering Pre-Approved Infrastructure with AWS Service Catalog
This lesson explains how AWS Service Catalog lets teams launch pre-approved, compliant products with only Service Catalog permissions, instead of broad IAM permissions to deploy infrastructure.
Learning outcomes
After completing this lesson, you will be able to:
- Describe portfolios and products.
- Use launch constraints so users do not need resource permissions.
- Identify the security benefits of Service Catalog.
Portfolios and products
AWS Service Catalog lets a central team offer pre-approved infrastructure that other teams can deploy themselves. A product is a CloudFormation template or Terraform configuration, such as a hardened EC2 instance, an encrypted S3 bucket or a complete application stack. Products are grouped into portfolios, and access to a portfolio is granted to IAM principals and shared with other accounts or organisational units. Users see only the products in portfolios granted to them, and each product version is reviewed before publication, so teams can deploy quickly without choosing their own configurations.
Constraints
Service Catalog lets users launch approved products, and constraints control how. A launch constraint names an IAM role that provisions the product's resources. Users therefore need permission only to use Service Catalog, not to create the underlying resources themselves, which keeps their own permissions narrow. A template constraint limits the parameter values users may choose, such as allowed instance types. A tag update constraint controls whether users can change tags on provisioned products, protecting tags used for access control and cost allocation. A notification constraint sends stack events to an SNS topic. The following table summarises the constraints.
| Constraint | Effect |
|---|---|
| Launch constraint | A role provisions the product, so users need only Service Catalog permissions |
| Template constraint | Limits parameter values, for example allowed instance types |
| Tag update constraint | Controls whether users can change tags on provisioned products |
| Notification constraint | Sends stack events to SNS |
The following diagram follows a developer's launch of a Service Catalog product to a compliant S3 bucket.

Service Catalog constraints
Security benefits
Service Catalog improves security in two ways. First, products embed security baselines, such as encryption, logging, private networking and required tags, so every deployment is compliant by construction instead of being checked after the fact. Second, a launch constraint assigns an IAM role that Service Catalog uses to create the resources. End users need permission only to launch the product, not to create the underlying resources directly, so they cannot deploy a non-compliant variant outside the catalogue. Template constraints can further restrict the parameter values users may choose, such as instance types.
Why Service Catalog helps security
Self-service S3 buckets that are always compliant
Teams keep creating S3 buckets without encryption or logging. The platform team publishes a Service Catalog product whose template always enables default encryption, Block Public Access, versioning and access logging, and adds a launch constraint:
aws servicecatalog create-constraint --portfolio-id port-0abc --product-id prod-0bucket \
--type LAUNCH --parameters '{"RoleArn":"arn:aws:iam::111111111111:role/SCLaunchS3"}'
aws servicecatalog associate-principal-with-portfolio --portfolio-id port-0abc \
--principal-arn arn:aws:iam::111111111111:role/Developers --principal-type IAMDevelopers launch the product with only Service Catalog permissions; the launch role creates the bucket. An SCP denies s3:CreateBucket to developers directly, so every new bucket comes from the compliant product.
What do template constraints do in Service Catalog?
Show answer
They limit the parameter values users can choose when launching a product.
Exam Tips
Remember for the exam
- For self-service deployment of approved stacks without broad IAM rights, use a Service Catalog launch constraint.
- Template constraints limit the parameter values users can choose.
- Share portfolios across accounts and OUs.
- Embed security baselines in products so every deployment is compliant.
- Products can be defined in CloudFormation or Terraform.