Mobile Services | AWS Mobile Hub Flashcards
What is the AWS Mobile Hub ?
General
AWS Mobile Hub | Mobile Services
The AWS Mobile Hub is a console that provides an integrated experience for discovering, configuring, and accessing AWS cloud services for building, testing, and monitoring usage of mobile apps. With the AWS Mobile Hub, you can select and configure features to add to your mobile app. AWS Mobile Hub features combine AWS services, client SDKs, and client integration code that make it fast and easy to add new capabilities to your mobile app.
What can I do with the Mobile Hub?
General
AWS Mobile Hub | Mobile Services
The AWS Mobile Hub lets you explore and learn about AWS solutions for building common mobile app features, including easy access to functional overviews, documentation, and forums. With the AWS Mobile Hub, you always start with a Project. You can either create a project or view and modify an existing one. When you create a project, you can select and configure features to add to your app, including user sign-in, user data storage, app content delivery, cloud logic, push notifications, and app analytics. After you have selected and configured features for your app, you can download a source code and SDK package or a working quickstart app. This quickstart app is configured to work with your provisioned services. You can return to the Mobile Hub to modify your app projects to change, add, or delete features, create new projects, or to download quickstart app source code. After your app is built, you can test it on real devices and monitor app metrics in an analytics dashboard.
What does it cost to use the AWS Mobile Hub?
General
AWS Mobile Hub | Mobile Services
When you use the AWS Mobile Hub, you pay only for the underlying AWS services that you use. There are no additional charges for using the AWS Mobile Hub. To learn more about the pricing and free tiers for the services provisioned by the AWS Mobile Hub, please visit our pricing page.
How do I get started with the Mobile Hub?
Features and Functions
AWS Mobile Hub | Mobile Services
If you are new to AWS, you can start by visiting our webpage to learn more and sign up for an AWS account. After you have created an AWS account, sign in to the AWS Mobile Hub console. You can also visit our documentation or contact us on the forum.
What is a Mobile Hub Project?
Features and Functions
AWS Mobile Hub | Mobile Services
A Mobile Hub Project is a named collection of AWS features and services you have selected for your mobile app.
What does the User Sign-in feature provide?
Features and Functions
AWS Mobile Hub | Mobile Services
Using the AWS Mobile Hub, you can configure how users sign in to your app: through popular social logins such as Facebook and Google or with Email and Password based authentication. The AWS Mobile Hub will configure Amazon Cognito Identity and include sign-in, sign-up and password recovery screens in your quickstart app (as needed) along with the code required to connect Amazon Cognito with identity providers you have configured. Regardless of how your users sign in, the Mobile Hub will ensure your app has the right access control policies and follows AWS security best practices by using temporary, limited-privilege credentials to access other AWS resources that you create using Hub. The AWS Mobile Hub uses Amazon Cognito Identity, a free service, to power this feature.
What does the User Data Storage feature provide?
Features and Functions
AWS Mobile Hub | Mobile Services
The user data storage feature includes cloud storage for two types of user data. First, it includes storage for user data in key-value pairs for cases like user profiles and preferences, high scores, or game state. You can synchronize this data across a user’s authenticated devices to help make the user’s experience consistent. The AWS Mobile Hub configures Amazon Cognito to handle key-value pair storage and synchronization. If you select this feature, your quickstart app will include an example of this. In addition to key-value storage, the user data storage feature allows you to store files such as photos in Amazon S3. You can store user-private files that are not meant to be shared with other users of the app, and you can store user files that can be read by other users of your applications. The Mobile Hub will create an Amazon S3 bucket with a folder for each use case and set file read/write permissions appropriate for each. If you select this feature, your quickstart app will include an example.
What does the Hosting and Streaming feature provide?
Features and Functions
AWS Mobile Hub | Mobile Services
Using the AWS Mobile Hub, you can set up cloud storage for application assets like resource files or audio/video files. You can make these files accessible to your app only, or you can make these publicly available and cached globally through the AWS content delivery network. The quickstart app also includes local caching of this data in your client app to avoid unnecessary downloads. The AWS Mobile Hub configures Amazon S3 to handle storage. If you choose to include global content delivery, the AWS Mobile Hub can configure Amazon CloudFront as well. In addition, this feature provides capabilities to simplify development and testing of web applications. It can preconfigure an Amazon S3 static website and Amazon CloudFront distribution for use in test and production application development scenarios. The website includes auto-generated JavaScript configuration files with ECMAScript2015 export/import support which make it easy to build mobile web or hybrid apps that consume cloud resources using the AWS JavaScript SDK. The website further includes a sample app which demonstrates how to load the AWS JavaScript SDK and make Identity calls to Amazon Cognito. Mobile Hub provides a “one-click” experience after configuration allowing customers to launch the website from a single location in the Mobile Hub console.
What does the NoSQL Database feature provide?
Features and Functions
AWS Mobile Hub | Mobile Services
Using the NoSQL database feature you can add Amazon DynamoDB instance where you can store and query data used by your apps. Amazon DynamoDB is a fast and flexible NoSQL database service for all applications that need consistent, single-digit millisecond latency at any scale. It is a fully managed cloud database and its flexible data model and reliable performance make it a great data store for mobile apps. The AWS Mobile Hub lets you setup a database and define your database table schemas and indexes on the Mobile Hub console. If you select this feature, your quickstart app will include code for inserting, querying and deleting data in the database tables and saves you the effort on each of these operations.
What does the Cloud Logic Feature provide?
Features and Functions
AWS Mobile Hub | Mobile Services
Through the AWS Mobile Hub, you can create cloud functions that can be called directly from your mobile app to execute logic (eg: validating in-app purchase receipts, cropping images) or to connect to other software resources (eg: business applications, databases). By putting your application logic in the cloud, you can share common functions across your iOS and Android apps without writing and maintaining two different versions. You can also modify your cloud functions on the fly without having to build, test, and submit new versions of your mobile app to the app store. The AWS Mobile Hub configures AWS Lambda and Amazon API gateway to handle execution of your cloud functions. AWS Mobile enables you to easily import existing API Gateway endpoints and generates custom Android and iOS SDKs for you, when you want to integrate them with your exisiting mobile apps. If you include cloud logic in your project, your quickstart app will include an example cloud function you can edit later.
What does the Push Notifications feature provide?
Features and Functions
AWS Mobile Hub | Mobile Services
Through the AWS Mobile Hub, you can set up push notifications through the Apple (APNS and APNS Sandbox) and Google (GCM) push notification services. If you select this feature, the Mobile Hub console will walk you through initial setup. Your quickstart app will include mobile app code to automatically retrieve and update your push tokens. Additionally, your quickstart app will have code to subscribe each instance of your mobile app to a list, so you can send push notifications to your all of your mobile app users with one publish action. The Mobile Hub also lets you create topics for your app that you can subscribe users to group or topic-based notifications. The push notifications feature uses Amazon Simple Notification Service for sending push notifications.
What does the Messaging and Analytics feature provide?
Features and Functions
AWS Mobile Hub | Mobile Services
If you choose to include this feature in your app, the Mobile Hub will automatically configure mobile app event collection, multi-channel messaging, and user and app analytics with Amazon Pinpoint. Your quickstart app will initialize Amazon Pinpoint to record standard events like session start along with example monetization and custom events. You can use the console to define campaigns for sending messages to users via mobile push notification, SMS text messages, or emails. You can segment users according to numerous criteria to target campaigns at appropriate subsets for specific messages. You can also perform A/B testing to determine optimal messages, channels, and timing. Amazon Pinpoint provides dashboards showing usage metrics and other critical KPIs for your application.
What does the Project Export/Import feature provide?
Using AWS Mobile Hub
AWS Mobile Hub | Mobile Services
From the Mobile Hub project list page, you can clone, export and import your projects. Projects can be cloned within the same AWS account. Developers can import a zipped YAML project definition file exported from their own or other accounts. When you clone or import a project, Mobile Hub creates a new project and provisions it with its own set of AWS resources that match the original project.
Which device platforms and SDKs does the Mobile Hub support?
Using AWS Mobile Hub
AWS Mobile Hub | Mobile Services
The AWS Mobile Hub supports iOS (Swift and Objective C), Android (Java), Web (ReactJS), and React Native.
Can I use other AWS services with a Mobile Hub Project?
Using AWS Mobile Hub
AWS Mobile Hub | Mobile Services
You can provision and configure other AWS services (for example, Amazon EC2) in their respective service consoles, which are accessible through the home page of the AWS Management Console home page.