# Solved: AWS IoT Integration

**URL:** <https://www.thethingsnetwork.org/forum/t/solved-aws-iot-integration/12447>\
**Category:** AWS\
**Created:** [February 8, 2018, 12:25pm UTC](https://www.thethingsnetwork.org/forum/t/solved-aws-iot-integration/12447 "2018-02-08T12:25:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ianhaycox](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/i/e99b99/32.png) [@ianhaycox](https://www.thethingsnetwork.org/forum/u/ianhaycox)\
**Post date:** [February 8, 2018, 12:25pm UTC](https://www.thethingsnetwork.org/forum/t/solved-aws-iot-integration/12447/1 "2018-02-08T12:25:34Z")

</div>

Hi,

I’ve got a couple of gateways and some devices on the TTN Public Network and would like to integrate with AWS IoT

I’m following the AWS IoT Quick Start guide [https://www.thethingsnetwork.org/docs/applications/aws/quick-start.html](https://www.thethingsnetwork.org/docs/applications/aws/quick-start.html) but having problems during the Cloud Formation process.

Creating the TTNIntegrationEnvironment stalls for around 30 minutes then fails and rolls back.

I also tried the cloud formation template from the Conference Workshop [https://github.com/Klarrio/ttn-aws-workshop](https://github.com/Klarrio/ttn-aws-workshop) with the same results.

From the events,

```
11:37:37 UTC+0000	ROLLBACK_IN_PROGRESS	AWS::CloudFormation::Stack	ttn-app2	The following resource(s) failed to create: [TTNIntegrationEnvironment]. . Rollback requested by user.
11:37:35 UTC+0000	CREATE_FAILED	AWS::ElasticBeanstalk::Environment TTNIntegrationEnvironment Environment failed to launch as it entered Terminated state
11:03:08 UTC+0000	CREATE_IN_PROGRESS	AWS::ElasticBeanstalk::Environment TTNIntegrationEnvironment	Resource creation Initiated
11:03:05 UTC+0000	CREATE_IN_PROGRESS	AWS::ElasticBeanstalk::Environment TTNIntegrationEnvironment	
11:03:04 UTC+0000	CREATE_COMPLETE	AWS::IAM::InstanceProfile	TTNInstanceProfile

```

and there is nothing in the Outputs tab. Can’t see any other error messages or log files.

Has anyone else got this working ? Any help appreciated or tips to help diagnose the problem.

Thanks.

---

<div class="post-metadata">

**Author:** ![ianhaycox](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/i/e99b99/32.png) [@ianhaycox](https://www.thethingsnetwork.org/forum/u/ianhaycox)\
**Post date:** [February 9, 2018, 9:09am UTC](https://www.thethingsnetwork.org/forum/t/solved-aws-iot-integration/12447/2 "2018-02-09T09:09:03Z")

</div>

Solved.

I created a new free AWS account and everything worked first time.

The existing company AWS account was so locked down I suspect the security configuration was preventing it working.
