Closed GitThePower closed 4 years ago
WORK AROUND: Hobolink did not want to SFTP with the s3 bucket, so we could try turning the s3 into an email server and send hourly emails with the data file instead. Here's the guide:
https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-getting-started.html
Work around was successful. Data is streaming into S3
PRICING INFO: -SFTP server endpoint: $0.30/hour -SFTP data uploads and downloads: $0.04/GB
STEPS:
Log into the AWS management console with a role that has create permissions
Select the "Services" drop down menu at the top of the page and search for "SFTP"
In the search results, select "AWS Transfer for SFTP"
From the AWS Transfer for SFTP console, navigate to and select the "Create server" button
On the server creation page, leave the default settings in place and select the "Create server" button
Log into "https://www.hobolink.com" with the orchard watch credentials
In the console, navigate to and open the "Data" dropdown menu in the sidebar and select "Data Delivery"
Select "Create New Delivery"
In "General Settings", enter a name, set the delivery to 1 hour and check the "Active" check box
In "Select Data to Export", choose the file named "20699245 - Over the last hour"
In "Data Destination", check the "FTP (or SFTP)" check box, enter {serverId}.server.transfer.{regionId}.amazonaws.com in the "Server" field, and ensure the orchard watch credentials are entered in the "Username" and "Password" fields
Bellow these fields, check the "Use secure connection (SFTP)" check box, check the "Use certificate" checkbox that appears bellow that, then select "Download Public Key" and copy the whole key
Return to the AWS Transfer for SFTP console, choose the newly created server, and select the "Add user" button
On the add user page, enter a username in the "Username" field, select an S3 Bucket from the drop down under "Home directory", and select an IAM role from the drop down under "Access"
Under "SSH public keys", enter the copied key from hobolink, then select the "Add" button
Return to the hobolink delivery creation page and select the "Test Connection" button
Upon successful test completion, select the "Save" button to save the data delivery settings