Solved: AWS IoT Integration

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 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 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.

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.

1 Like