Scala Collector, Kinesis S3 Loader and Scala Stream Enrich deployed using AWS ElasticBeanstalk


#1

Hey there!

Anyone with experience deploying Scala Collector, Kinesis S3 Loader and Scala Stream Enrich as AWS ElasticBeanstalk apps?

I’d love to deploy those using this service to simplify the management of this environment.

Any hints are very much appreciated.


#3

re: Collector. I’m using this dockerfile:

FROM openjdk:8

RUN mkdir -p /app/etc /app/lib

ADD kinesis/target/scala-2.11/snowplow-stream-collector-kinesis-0.13.0.jar /app/lib/
ADD etc/config.hocon /app/etc/

EXPOSE 8080

ENTRYPOINT [ "java", "-jar", "/app/lib/snowplow-stream-collector-kinesis-0.13.0.jar", "--config", "/app/etc/config.hocon" ]

I also zipped a single file with Dockerrun.aws.json as this:

{
  "AWSEBDockerrunVersion": "1",
  "Image": {
    "Name": "851750136627.dkr.ecr.us-east-1.amazonaws.com/snowplow-collector:latest",
    "Update": "true"
  },
  "Ports": [
    {
      "ContainerPort": "8080"
    }
  ]
}

(be sure to add the permissions needed for ECR pull)