[mezzanine-users] Deploying mezzaine to AWS

2018-04-14 Thread Paul Tremblay
Hi,

New to mezzanine. My current job is creating a website in Django and 
deploying to AWS. For a home project, I want to deploy Mezzanine to AWS. 
Are there official docs on this? I am thinking to just download the source 
code, and then follow the same steps I take at work (create a git account 
on AWS, download the AWS tools, use elasticbeanstalk, etc.) 

Thanks!

Henry

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] Deploying mezzaine to AWS

2018-04-14 Thread Matt Mansour
I don't think there are official docs for that.

I took the following approach a few times over the last couple years, But
there are probably easier and better ways.


   - Create an EC2 Instance on AWS
   - Deploy Everything to EC2 (Standard Mezzanine Deploy) (you can probably
   stop here if scaling and performance is not an issue)
   - Create RDS and ElasticCache instances on AWS
   - Configure the Django settings to point RDS (db) and Elasticache
   (memcached or redis) (I forgot why I could not do step on the first deploy
   attempt)
   - redeploy
   - Install Python's Boto Library.
   - Create s3 Buckets on AWS
   - Configure Django to use Boto so your static media ends up on s3 when
   running 'collectstatic'
   - Create a Cloudfront Distribution.
   - Configure Cloudfront to serve the static media through s3

It probably took me a day or two to get this working. I had to Google quite
a few resources.

I can make this work pretty consistently but moving forward I'll probably
explore using Docker/ECS

Best,

Matt

On Sat, Apr 14, 2018 at 8:39 AM, Paul Tremblay 
wrote:

> Hi,
>
> New to mezzanine. My current job is creating a website in Django and
> deploying to AWS. For a home project, I want to deploy Mezzanine to AWS.
> Are there official docs on this? I am thinking to just download the source
> code, and then follow the same steps I take at work (create a git account
> on AWS, download the AWS tools, use elasticbeanstalk, etc.)
>
> Thanks!
>
> Henry
>
> --
> You received this message because you are subscribed to the Google Groups
> "Mezzanine Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to mezzanine-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.