Nuxt.js: Deploying to AWS (serverless)

Created on 22 Oct 2017  路  16Comments  路  Source: nuxt/nuxt.js

I tried to search around but did not successfully find a AWS serverless solution for Nuxt SSR. Is there something i have missed or is this not currently support?

This question is available on Nuxt.js community (#c1717)
help-wanted

Most helpful comment

Welcoming Node 8 in AWS Lambda, Checkout my new template! https://github.com/jeehyukwon/nuxt-serverless

All 16 comments

I made this: https://github.com/phlogisticfugu/perfect-paca a while ago.

Waiting for Nuxt 1.0 to update it, and use the new vue-cli

@phlogisticfugu very interesting.. Would it make more sense to spin something up with Claudia.JS? I am already a big fan of Zappa for Python and having a good cli is most of the hard work..

perfect-paca uses https://serverless.com/ actually, which does what claudia.js does, but supports more clouds. Give it a try and I'm open to suggestions/PRs

@phlogisticfugu that looks like a better solution. I'm comparing that with the AWS codestar pipeline this week and will try to give feedback.

Hi, what is the status of this?
It would be very useful to me if I can deploy to AWS lambda and also cache pages on S3 or some other cache for frequently accessed pages.
Are there any other solutions for this?

I basically ended up using a pre-rendering solution with my nuxt project. But perfect-paca looks like a good solution.

Ok I'm starting to use perfect-paca, are there any other alternatives? well I'm go ahead with this and report back how it goes. Deploy to AWS serverless is essential for me.

@PhilAndrew, any luck?

You could use up they have also examples for nuxt.

Re: @maziarz
Note that the issue that @PhilAndrew had with perfect-paca was resolved by himself.

Also, will be updating perfect-paca with nuxt.js 1.0 which just came out a few days ago

Welcoming Node 8 in AWS Lambda, Checkout my new template! https://github.com/jeehyukwon/nuxt-serverless

Nice job @jeehyukwon

a little late to the game @maziarz but if you don't have dynamic routes and want to go the route of s3+CloudFront I built a tool that auto-deploys Nuxt projects and easily plugs into Circle CI

https://github.com/acidjazz/aeonian

I am still looking for a working example utilising Express or Koa running on AWS Lambda / ApiG without serverless-framework, but merely CloudFormation/SAM. If anyone is up for creating such a sample project, please ping me :-)

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nassimbenkirane picture nassimbenkirane  路  3Comments

jaredreich picture jaredreich  路  3Comments

vadimsg picture vadimsg  路  3Comments

bimohxh picture bimohxh  路  3Comments

o-alexandrov picture o-alexandrov  路  3Comments