<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Aws on egig.github.io</title><link>https://egig.github.io/blog/aws/</link><description>Recent content in Aws on egig.github.io</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Mon, 22 Jul 2019 10:00:00 +0000</lastBuildDate><atom:link href="https://egig.github.io/blog/aws/index.xml" rel="self" type="application/rss+xml"/><item><title>Stream Amplitude Export API to AWS S3</title><link>https://egig.github.io/stream-amplitude-export-api-to-aws-s3/</link><pubDate>Mon, 22 Jul 2019 10:00:00 +0000</pubDate><guid>https://egig.github.io/stream-amplitude-export-api-to-aws-s3/</guid><description>&lt;p&gt;A lot of drama at work, this time I need to backup the Amplitude logs events to S3. The dumb idea, I think I can just export the all amplitude events to my local machine, and upload it to S3. And not, so dumb idea, I think, we can do it all at once: &lt;a href="https://nodejs.org/api/stream.html"&gt;Streaming&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;And thanks God, there is also the npm package already: &lt;code&gt;s3-stream-upload&lt;/code&gt;. So this is all I have to do to send amplitude exports between &lt;code&gt;startDate&lt;/code&gt; and &lt;code&gt;andDate&lt;/code&gt;&lt;/p&gt;</description></item></channel></rss>