Hi Dimatar,

Thanks for the links. Unfortunately I could not get MonetDB to work properly on Elastic Beanstalk (probably caused by my lack of Docker skills), so I had to abandon this route and just install a couple of EC2s by hand. Hopefully this info is useful for someone else though :)

Maarten





On Fri, Mar 27, 2015 at 4:00 PM, Dimitar Nedev <dimitar.nedev@monetdbsolutions.com> wrote:

Hi Maarten,

It should be possible using an EBS volume. It will require some changes to the Elastic Beanstalk config, s.t. the MonetDB dbfarm is on an mounted EBS volume (which is attached to the EC2 instance running the container). This StackOverflow answers can help [1][2]. The default dbfarm is mounted can be found in /var/monetdb5/dbfarm.

Best,
Dimitar

[1] http://stackoverflow.com/questions/27392611/how-to-mount-volume-in-elasticbeanstalk-docker-container-using-only-dockerrun-aw
[2] http://stackoverflow.com/questions/25126850/mount-specific-ebs-volume-to-docker-under-aws-beanstalk

> On 2015-Mar-27, at 13:47 , Maarten Sander <maarten.sander@gingerpayments.com> wrote:
>
> Hi Dimitar,
>
> Thanks for the info, very useful. I have now successfully configured Elastic Beanstalk to run the MonetDB Docker container and everything seems to run okay.
>
> However, updating my EB’s configuration wipes the container, and thus the database. Not ideal, so I might end up just launching my own EC2s and going with that. (Unless you have some tips for me to keep my data.)
>
> Regards,
> Maarten
>
>
>
>
>
> On Thu, Mar 26, 2015 at 4:56 PM, Dimitar Nedev <dimitar.nedev@monetdbsolutions.com> wrote:
>
> Hi Maarten,
>
> Your are on the right track with Packer (in my opinion). We had Packer templates, currently under development on a private repo, pending the release MonetDB AMI on the AWS marketplace. This is expected very soon.
>
> You can run Docker containers directly on AWS using Elastic Beanstalk [1], for example. There are also a few Docker containers with MonetDB available. We recently released one of our own [2], with MonetDB and R ready for use.
>
> Best regards,
> Dimitar
>
> [1] http://aws.amazon.com/about-aws/whats-new/2014/04/23/aws-elastic-beanstalk-adds-docker-support/
> [2] https://registry.hub.docker.com/u/monetdb/monetdb-r-docker/
>
>
> > On 2015-Mar-26, at 15:12 , Maarten Sander <maarten.sander@gingerpayments.com> wrote:
> >
> > Hi everyone,
> >
> > Is there an easy way to create an AWS AMI running MonetDB? Perhaps someone maintains a Packer template?
> >
> > Regards,
> > Maarten
> >
> >
> >
> > _______________________________________________
> > users-list mailing list
> > users-list@monetdb.org
> > https://www.monetdb.org/mailman/listinfo/users-list
>
>
>