subscription based billing support in AWS - amazon-web-services

How can I add subscription based billing support to an app running in the AWS. I know there are third party service providers, but could not find a service from AWS it self.

Related

Can we implement AWS marketplace SaaS product without AWS Lambda?

For the AWS marketplace integration, we have checked the sample code of Serverless integration for SaaS products. The samples provided, it is based on AWS Lambda functions for registering new subscribers, subscribing to SQS etc.
Can we implement all these functionalities with our database, functions etc, instead of using AWS lambda and dynamo DB?
Also in the examples, some lambda functions are there like stream handler, entitlement-SQS, subscription-SQS-handler, grant-revoke-access-to-product etc. How can we trigger if we use our APIS?
Yes, the AWS Marketplace SaaS integration documentation states:
When a customer subscribes to your product, they are redirected to your registration URL which is an HTTP POST request with a temporary x-amzn-marketplace-token token.
All you need is an endpoint that can receive that POST in order to integrate. If you want to trigger any additional AWS API calls, your endpoint could make use of an AWS SDK. There are also requirements surrounding what your POST endpoint must do in order to be approved by the AWS Marketplace team. I suggest reviewing the documentation above or this AWS Marketplace
SaaS Listing Process & Integration Guide.

Is it possible to integrate the AWS cognito hosted UI with the Amazon Pinpoint for analytics?

We are looking for a way to integrate the AWS Cognito hosted UI with the Amazon Pinpoint for analytics. We have also set up the Pinpoint for Cognito with the corresponding region, but nothing shows up in the dashboard.
There is already an integration present for AWS congnito and Pinpoint.
Although, your question is a little bit vague. Because you have not added other details.
Till which part you are done.
Still, let me add some some steps, let's see if it helps you.
One possible reason could be wrong mapping of regions in aws.
Please use this link to check mapping:
AWS Region mapping for cognito and Pinpoint
Sign in to the Amazon Cognito console
.
In the navigation pane, Manage User Pools, and choose the user pool you want to edit.
Choose the Analytics tab.
Choose Add analytics and campaigns.
Choose a Cognito app client from the list.
To map your Amazon Cognito app to an Amazon Pinpoint project, choose
the Amazon Pinpoint project from the list.
Choose Share user attribute data with Amazon Pinpoint if you want Amazon Cognito to send email addresses and phone numbers to Amazon Pinpoint in order to create additional endpoints for users.

How can we charge our clients for an API service that is build with AWS API Gateway?

My company is building an API service that will be offered on our own website.
We are considering to deploy it on AWS API Gateway + Lambda to make it scalable.
After doing some research, I'm not really sure how we can do manage our clients' subscriptions & billing.
Can anyway recommend a service that let us charge and manage clients that are using APIs that are build on AWS?
Thanks

How to Monitor/listen aws Services?

Suppose multiple aws services are running (like EC2,S3) and If someone changes the configuration of these services , I want to know immediately and want to pull the updated configuration. So how can i listen to these services to pull configuration immediately . I went through couple of options like aws SNS and all. But i don't want to implement this using any aws services for this.
I am using spring boot application. Any help is appreciated , Thanks in advance.
The two services you should be interested in are:
AWS CloudTrail:
AWS CloudTrail is an AWS service that helps you enable governance, compliance, and operational and risk auditing of your AWS account. Actions taken by a user, role, or an AWS service are recorded as events in CloudTrail. Events include actions taken in the AWS Management Console, AWS Command Line Interface, and AWS SDKs and APIs.
AWS Config:
AWS Config provides a detailed view of the configuration of AWS resources in your AWS account. This includes how the resources are related to one another and how they were configured in the past so that you can see how the configurations and relationships change over time.
You can also configure Amazon CloudWatch Events rules that trigger when a particular API call is made (eg when a user changes some configuration). This could trigger a notification, a Lambda function, etc.
See:
Creating a CloudWatch Events Rule That Triggers on an AWS API Call Using AWS CloudTrail - Amazon CloudWatch Events
How to monitor AWS account activity with Cloudtrail, Cloudwatch Events and Serverless

How to authenticate users with Aws Cognito and Aws Amplify

We are building an application with mobile authentication and we decided to use Aws. I searched a little and decided to use Aws Cognito. I read the documentation and while reading I noticed that, for the application side I need to use Aws Amplify. I tried some examples but I am not sure I understand the concept right.
Can you give me some insight about this model.
Amazon Cognito is a managed Identity Provider in the cloud, it provides you with a user repository, federation, GUI for signin, signup, lost password and other user flows, it supports OTP, email address verification etc ...
It can be integrated into your app through the provided UI or through its API if you want to control the look and feel of theusre interfaces.
Amplify is a command line tool and client library to make it easy to provision and to use cloud services, including Cognito, from your web or mobile application.
The Amplify CLI will help you to provision Cognito in the cloud, without requiring you to click through all the options in the console. The Amplify client side library will provide high level programming constructs to make it easy to access cloud based services, such as Cognito, from your apps.
You can watch this 45 minute talk that shows Amplify in action : https://www.youtube.com/watch?v=QxOcvOMnAuQ and this github repo with a sample application : https://github.com/sebsto/amplify-react-workshop