Here is how I set up my db to work with RDS.
Note: res-combined-ca-bundle.pem is the public key for RDS found here:
https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem.
driver_args = { 'ssl':{ 'ca':
'applications/ads/private/ssl/rds-combined-ca-bundle.pem'} }
db_auth =
'mysql://u
Unfortunately no. I access the admin from localhost (my dev machine)
I also have an AWS CloudWatch alarm to trigger on an error in the
CloudWatch logs and invoke a different lambda (running a python script)
that writes the ticket to an error table in the DB so I can see those error
tickets.
Hi Mike,
I've been following your recipe, but I have an 'read-only file system
issue' (I think is due that I did not set up a database and web2py is
trying to create the datatables files)
So, can you give me some clues about it? Also, how should i set up and
configure my rds to work with web2
Hi Jaime,
I now have 4 production web2py apps that have been up and running on Lambda
for many months now with no issues. It is easily maintainable and I can
update/deploy with a single command line: zappa update
As for the databases, the DB doesn't have to be AWS. You can connect to any
datab
That's receipe is great, thanks for the work.
One thing that I have not seen is which database are you using? I think
with Zappa you need to use RDS, at least that's what I have seen with
Django apps.
So, I would like to ask you two questions:
1) Can you confirm about the database (is a RDS)?
Good job! If you change that to a markdown or html page we can post on the
web2py web site. I would also be happy to take the code from your example
and turn it into a script that shops with web2py. Want to propose one?
On Tuesday, 27 November 2018 15:51:54 UTC-8, appjar...@gmail.com wrote:
>
>
Thank you Anthony, I added the wsgibase wrapper after my initial post. I
was modifying gluon/main.py but I added the wrapper (lambda_handler.py) to
avoid that.
I confirmed which environ variables are coming through as unicode and
submitted an issue to zappa.
https://github.com/Miserlou/Zappa/i
On Tuesday, November 27, 2018 at 6:51:54 PM UTC-5, appjar...@gmail.com
wrote:
>
> I've created a first pass at an AWS Lambda deployment recipe which uses an
> open-source tool called Zappa.
>
> I welcome any comments or suggested improvements. In particular, step 3
> requires modifying gluon/ma
8 matches
Mail list logo