AWS, Cloud Computing

4 Mins Read

What is Amazon Mobile Hub?

Voiced by Amazon Polly

Introduction

Amazon Mobile Hub is a mobile service, which allows to build, test and monitor usage of mobile apps rapidly and easily. It allows users to integrate various AWS services to your mobile application in matter of some clicks. Once the app is ready, Mobile Hub allows you to test the app on real devices as well as make use of analytics to track usage of the app. Mobile Hub allows users to focus more on the application building rather than concentrating on the infrastructure build.

It takes care of provisioning, configuring and managing the infrastructure you require. Users can make use of this AWS service for creating Android or iOS apps.

mobile-hub

Customized Cloud Solutions to Drive your Business Success

  • Cloud Migration
  • Devops
  • AIML & IoT
Know More

Mobile Hub Services

Mobile Hub integrates following services
Amazon Mobile Hub allows users to integrate various AWS services within their Android or iOS application. The services are as follows:

  • Amazon Cognito: AWS service for user sign-in. Facebook, Google+ as well as custom login are currently supported.
  • Amazon S3: Object storage service from AWS.
  • Amazon SNS: Push notification services from AWS.
  • AWS Lambda: Compute service where users can upload the code and AWS run the code when required.
  • Amazon CloudFront: Global or single location CDN for the application.
  • Amazon Mobile Analytics: Measure app usage, revenue and much more using this service.
  • Amazon Device Farm: Mobile application testing on real devices hosted in AWS.

Use Case

AWS Mobile Hub is used for an application where users will be authenticated using Facebook id. The application will allow the users to upload and download media in AWS S3 for each of activity happening in S3, the user will get notification as an email.

Prerequisites

– iOS
o   Xcode IDE (Integrated Development Environment)
o   Xcode 7.0 or newer
– Android
o   Android Studio 1.4 or newer
o   Android SDK 4.4 (KitKat) API Level 19 or newer
o   Android SDK Build-tools 23.0.1
o   Android Device with Android OS 4.0.3 (IceCreamSandwich) API Level 15 or newer

Step-by-Step Guide

Let’s begin with the creation of the project, go to the AWS management console, select Mobile Hub under Mobile services, this will give you the console of Mobile Hub.  

Step 1: Select “create a mobile project”

Step1

Step 2: Click on “Configuration” for configuring other AWS Services.

In few clicks, user can configure the app to use required AWS services, AWS will take care of actual provisioning and configuration of those resources. AWS provisions the resources automatically and generates a working sample application that can be used to customize later by the user.

Step2

Step 3: Select “User Sign-in”, provide required details.

After the configuration, “Build” the app. It allows us to choose the two major platforms such as iOS and Android for creating the app.

iOS project can be built and executed using Xcode whereas Android app supports Android Studio IDE with Android build tools.

Step 4: Select “Android image” for android platform.

Step 5: Browse to AWS S3, we will find that a bucket has been created by the Mobile Hub. Here, configure the bucket for the events such as upload and download which lead to triggering of the “Email Notification” using AWS SNS.

Step 6: Now go back to the Mobile Hub console, under Build section we can see the “Download Android source package”, download this package.

Follow the steps according to the requirements and click on “I’m done with this step”.

Step3

Run the downloaded source package in Android SDK. This is how your Sample app will look on your device.

Step6

Tap the User sign-in and login. Now we’ll upload any media file into S3 by taping the “User Data Storage”. After uploading the file we can see it in S3 bucket. As we have uploaded the file into S3,  we will receive notification as an email. In similar way we will receive notifications when a file is deleted.

What other services/tasks are integrated with Mobile Hub?

AWS Device Farm allows to test a list of most commonly used devices.

Amazon Mobile Analytics gives the statics such as “Daily active users”, “Monthly active users”, “Sticky factors” and many more details.

Resources gives an idea on all the AWS services the app is using. The main advantage of this tab is, it allows users to view all the used AWS services in a single window. The listed resources contain links to the respective services where the users will be able to do advanced management tasks as well.

 

Pricing

  • No Pricing for AWS Mobile Hub
  • Users are billed as per the resource that they create (or) use for their mobile application.

Get your new hires billable within 1-60 days. Experience our Capability Development Framework today.

  • Cloud Training
  • Customized Training
  • Experiential Learning
Read More

About CloudThat

CloudThat is also the official AWS (Amazon Web Services) Advanced Consulting Partner and Training partner and Microsoft gold partner, helping people develop knowledge of the cloud and help their businesses aim for higher goals using best in industry cloud computing practices and expertise. We are on a mission to build a robust cloud computing ecosystem by disseminating knowledge on technological intricacies within the cloud space. Our blogs, webinars, case studies, and white papers enable all the stakeholders in the cloud computing sphere.

Drop a query if you have any questions regarding Amazon Mobile Hub and I will get back to you quickly.

To get started, go through our Consultancy page and Managed Services Package that is CloudThat’s offerings.

WRITTEN BY CloudThat

CloudThat is a leading provider of cloud training and consulting services, empowering individuals and organizations to leverage the full potential of cloud computing. With a commitment to delivering cutting-edge expertise, CloudThat equips professionals with the skills needed to thrive in the digital era.

Share

Comments

  1. Arvind mewada

    Apr 10, 2017

    Reply

    hii sir im arvind mewada i have a android mobile 4.4 api 19 is not fully working on mobile hub , not upload a file in s3 please give me soluction

  2. Click to Comment

Get The Most Out Of Us

Our support doesn't end here. We have monthly newsletters, study guides, practice questions, and more to assist you in upgrading your cloud career. Subscribe to get them all!