Getting Started with AWS for Unity

Andrea Alicino
2 min readSep 17, 2021

As I had already written in the previous article we leave for a moment from the world of video games and use Unity to make an android application.

As with any new project, there are some steps to do before you can really start. In this case, the first essential step is to create an account on Amazon Web Services.

The process is guided and very quick just follow the steps and proceed. Once we are done we have to go and look for the AWS packages to use with Unity, which you can find at this link

Also, we will be faced with a series of steps to follow that are divided into 3 points

Step 1: Download the AWS Mobile SDK for Unity
Is a very quick step we should download an archive with different types of packages and import into Unity only what we really need. In my case, it is the S3 package.

Step 2: Configure the AWS Mobile SDK for Unity
The second step is inside Unity. We need to create a game object that becomes our AWS manager and associate a script with the same name.
Inside this script, we will have to add the Amazon namespace and call a function in the Awake method.

Step 3: Obtain the Identity Pool ID using Amazon Cognito
Let’s go back to the site where we found all the information about the steps to follow and go to the Amazon Cognito Console link.
If we haven’t completed all the steps when registering the account it will force us to do it now. But no payment is required.

If everything went well, the page will show two choices, I’m interested to create a new identity pool. We will be asked for the name of this pool for our application and to check a box for access to unauthenticated users. Go ahead and click on “Allow” until you see a small piece of code.

Now we just need to build the app on Unity

--

--

Andrea Alicino

Game Developer Unreal Engine/Unity. Computer science graduate. Seeking new opportunities.