[Integrates] AWS Marketplace Integration
Problem to solve
Publish Integrates in the AWS Marketplace
Proposal
1st phase:
-
Create cross-account role in Marketplace account so Integrates can assume the role and query the Marketplace API -
Receive AWS token after a user subscribes and fetch entitlement information (save it in the DB and associate to the user after registration) -
Onboard user based on entitlements -
Display subscription information to the user in the platform -
Create a SQS queue that subscribes to the SNS topics that inform of subscription updates -
Handle subscription updates -
entitlement-update -
subscribe-fail -
subscribe-success -
unsubscribe-fail -
unsubscribe-success
-
-
Meter application usage outside of the initial contracted usage
2nd phase:
-
Handle existing users that want to switch existing groups to billing through AWS
Links / references
- https://awsmp-loadforms.s3.amazonaws.com/AWS+Marketplace+-+SaaS+Integration+Guide.pdf
- https://docs.aws.amazon.com/marketplace/latest/userguide/saas-guidelines.html#saas-product-usage
- https://docs.aws.amazon.com/marketplace/latest/userguide/saas-code-examples.html#saas-resolvecustomer-example
- https://docs.aws.amazon.com/marketplace/latest/userguide/saas-product-customer-setup.html#configuring-your-saas-application-to-accept-new-customers
- https://www.youtube.com/watch?v=glG44f-L8us
Edited by Andres Cuberos