-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update for AppRegistry. Updated templates and Reamdme to remove endus…
…er users and groups
- Loading branch information
Showing
44 changed files
with
290 additions
and
969 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# AWS Service Catalog AppRegistry reference architecture | ||
|
||
This reference architecture creates an AWS Service Catalog AppRegistry Application and Attribute group. | ||
For an example of how to automatically associatge AWS Service Catalog products with AppRegistry see this [sample EC2 template with AppRegistry](https://github.com/aws-samples/aws-service-catalog-reference-architectures/blob/master/ec2/sc-ec2-linux-nginx-nokey-appreg.json). | ||
|
||
###Try this in your account: | ||
1. Launch the AppRegistry stack below | ||
2. Add the [sample EC2 template with AppRegistry](https://github.com/aws-samples/aws-service-catalog-reference-architectures/blob/master/ec2/sc-ec2-linux-nginx-nokey-appreg.json) as a version or product in AWS Service Catalog. | ||
3. Provision the EC2 product from [AWS Service Catalog](https://console.aws.amazon.com/servicecatalog/#products). | ||
4. Review the associated resources in AppRegistry found in the [AWS Service Catalog console](https://console.aws.amazon.com/servicecatalog/#applications/). | ||
|
||
|
||
[Admin Guide](https://docs.aws.amazon.com/servicecatalog/latest/adminguide/appregistry.html) | ||
|
||
|
||
See how to create and query an AWS Service Catalog AppRegistry Application with CLI: | ||
[Increase application visibility and governance using AWS Service Catalog AppRegistry](https://aws.amazon.com/blogs/mt/increase-application-visibility-governance-using-aws-service-catalog-appregistry/) | ||
|
||
|
||
### Install | ||
Launch the AppRegistry stack: | ||
[](https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/new?stackName=SC-RA-AppRegistryExample&templateURL=https://s3.amazonaws.com/aws-service-catalog-reference-architectures/AppRegistry/sc-appreg-example.json) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
{ | ||
"AWSTemplateFormatVersion": "2010-09-09", | ||
"Description": "AppRegistry sample appplicaiton and attribute group", | ||
"Parameters": { | ||
"ApplicationName": { | ||
"Description": "Name for your AppRegistry Applicaiton", | ||
"Type": "String", | ||
"Default": "myapplication" | ||
}, | ||
"ApplicationDescription": { | ||
"Description": "Description for your AppRegistry Applicaiton", | ||
"Type": "String", | ||
"Default": "this is a sample application" | ||
}, | ||
"AttributeGroupName": { | ||
"Description": "Name for your AppRegistry AttributeGroup", | ||
"Type": "String", | ||
"Default": "SampleApplication_businessServices" | ||
}, | ||
"AttributeGroupDescription": { | ||
"Description": "Description for your AppRegistry AttributeGroup", | ||
"Type": "String", | ||
"Default": "Sample Application business Services and runtime information" | ||
} | ||
}, | ||
"Resources": { | ||
"AppRegApplication":{ | ||
"Type" : "AWS::ServiceCatalogAppRegistry::Application", | ||
"Properties" : { | ||
"Description" : {"Ref":"ApplicationDescription"}, | ||
"Name" : {"Ref":"ApplicationName"}, | ||
"Tags" : {"TeamOwner" : "Supplychain-devteam-blue"} | ||
} | ||
}, | ||
"AppRegAttributeGroup":{ | ||
"Type" : "AWS::ServiceCatalogAppRegistry::AttributeGroup", | ||
"Properties" : { | ||
"Description" : {"Ref":"AttributeGroupDescription"}, | ||
"Name" : {"Ref":"AttributeGroupName"}, | ||
"Attributes": {"K8":{"helmName":"myhelm","version":"1.0"},"Team":"Supplychain","app-type":"processing","SLA":"1h","Runtime":"Python-3.8","Compliance":["SOC-1","ISO-27018"]} | ||
} | ||
}, | ||
"AppRegAttributeGroupAssoc":{ | ||
"Type" : "AWS::ServiceCatalogAppRegistry::AttributeGroupAssociation", | ||
"Properties" : { | ||
"Application" : {"Ref":"AppRegApplication"}, | ||
"AttributeGroup" : {"Ref":"AppRegAttributeGroup"} | ||
} | ||
} | ||
}, | ||
"Outputs": { | ||
"ApplicationId": { | ||
"Value": { | ||
"Fn::GetAtt": ["AppRegApplication","Id"] | ||
}, | ||
"Export" : { "Name" : {"Fn::Sub": "AppRegApplication-Id" }} | ||
}, | ||
"AttributeGroupId": { | ||
"Value": { | ||
"Fn::GetAtt": ["AppRegAttributeGroup","Id"] | ||
} | ||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,17 +8,3 @@ This reference architecture creates an AWS Service Catalog Portfolio called | |
### Install | ||
Launch the DynamoDB portfolio stack: | ||
[](https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/new?stackName=SC-RA-DynamoDBPortfolio&templateURL=https://s3.amazonaws.com/aws-service-catalog-reference-architectures/dynamodb/sc-portfolio-dynamodb.yml) | ||
|
||
|
||
### Install from your own S3 bucket | ||
1. clone this git repo: | ||
```git clone [email protected]:aws-samples/aws-service-catalog-reference-architectures.git``` | ||
2. Copy everything in the repo to an S3 bucket: | ||
```cd aws-service-catalog-reference-architectures``` | ||
```aws s3 cp . s3://[YOUR-BUCKET-NAME-HERE] --exclude "*" --include "*.json" --include "*.yml" --recursive``` | ||
3. In the AWS [CloudFormation console](https://console.aws.amazon.com/cloudformation) choose "Create Stack" and supply the Portfolio S3 url: | ||
```https://s3.amazonaws.com/[YOUR-BUCKET-NAME-HERE]/dynamodb/sc-portfolio-dynamodb.yml``` | ||
5. Set the _LinkedRole1_ parameter to any additional end user role you may want to link to the Portfolio. | ||
6. Set the _CreateEndUsers_ parameter to No if you have already run a Portfolio stack from this repo (ServiceCatalogEndusers already exists). | ||
7. Change the _RepoRootURL_ parameter to your bucket's root url: | ||
```https://s3.amazonaws.com/[YOUR-BUCKET-NAME-HERE]/``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,20 +16,6 @@ Launch the EC2 portfolio stack: | |
Be aware, running this service as demonstrated here is non-SSL http. In production you must protect all web traffic with SSL. | ||
The example templates here cannot create and manage SSL for you, so it must be done as an additional task in your account. | ||
|
||
### Install from your own S3 bucket | ||
1. clone this git repo: | ||
```git clone [email protected]:aws-samples/aws-service-catalog-reference-architectures.git``` | ||
2. Copy everything in the repo to an S3 bucket: | ||
```cd aws-service-catalog-reference-architectures``` | ||
```aws s3 cp . s3://[YOUR-BUCKET-NAME-HERE] --exclude "*" --include "*.json" --include "*.yml" --recursive``` | ||
3. In the AWS [CloudFormation console](https://console.aws.amazon.com/cloudformation) choose "Create Stack" and supply the Portfolio S3 url: | ||
```https://s3.amazonaws.com/[YOUR-BUCKET-NAME-HERE]/ec2/sc-portfolio-ec2.json``` | ||
4. If this is the first portfolio you are creating, then leave _LaunchRoleName_ blank to allow CloudFormation to create the launchconstraint role for you. | ||
* If you have already run the VPC template, then you will put the _output.LaunchRoleName_ from the completed LaunchConstraintRole stack in the _LaunchRoleName_ field (default is SCEC2LaunchRole). | ||
5. Set the _LinkedRole1_ and _LinkedRole2_ parameters to any additional end user roles you may want to link to the Portfolio. | ||
6. Set the _CreateEndUsers_ parameter to No if you have already run a Portfolio stack from this repo (ServiceCatalogEndusers already exists). | ||
7. Change the _RepoRootURL_ parameter to your bucket's root url: | ||
```https://s3.amazonaws.com/[YOUR-BUCKET-NAME-HERE]/``` | ||
|
||
### EC2 Architecture with Amazon Linux and Microsoft Windows instances | ||
|
||
|
Oops, something went wrong.