lighthouse-ci icon indicating copy to clipboard operation
lighthouse-ci copied to clipboard

Documentation for AWS?

Open mattdell opened this issue 4 years ago • 11 comments

Hi, I've spent about a day trying to get the docker image deployed onto AWS. I can see looking through the issues that people have manged it, but I don't see any documentation for how to deploy this to AWS.

I have been trying to follow this, which is very much focused on GCP: https://github.com/GoogleChrome/lighthouse-ci/blob/master/docs/recipes/docker-server/README.md

mattdell avatar Jul 16 '20 15:07 mattdell

Anyone familiar with docker deployment on AWS is welcome to add a section for it, PRs much appreciated :)

patrickhulce avatar Jul 16 '20 15:07 patrickhulce

For anyone else struggling, I was able to do this by creating an EC2 instance, installing docker, and then using the docker-compose command in the link above.

I doubt this is the recommended way of doing it, otherwise I would write it up in the readme. Hopefully someone more knowledgeable comes along and is able to do it.

mattdell avatar Jul 20 '20 10:07 mattdell

Any tips on using AWS. I'm stuck at the moment.

jared-christensen avatar Aug 05 '21 18:08 jared-christensen

@jared-christensen I got it running on AWS per my comment above. Have you tried that? If so where did you get stuck?

mattdell avatar Aug 05 '21 22:08 mattdell

I got this running in AWS Lambda with API Gateway and Serverless Aurora. If anyone is interested, let me know and I will write documentation on how to achieve this. I did not want to run this on ec2 as I rarely use the server and did not want to pay for always running ec2 instance.

adikari avatar Dec 08 '21 05:12 adikari

I got this running in AWS Lambda with API Gateway and Serverless Aurora. If anyone is interested, let me know and I will write documentation on how to achieve this. I did not want to run this on ec2 as I rarely use the server and did not want to pay for always running ec2 instance.

Hi @adikari I would be very interested on how to achieve this

jeroenpot avatar Jan 27 '22 13:01 jeroenpot

@adikari That is the exact thing I was searching for. Any guidance?

mgray88 avatar Aug 29 '22 14:08 mgray88

@adikari super interested in how you achieved this - any chance you can share an example CDK?

KingScooty avatar Feb 28 '23 22:02 KingScooty

Hi @mattdell - have you seen https://github.com/troydieter/lhci-fargate ? I maintain this project.. deployed using AWS CDK v2.x in TS.

troydieter avatar Mar 03 '23 03:03 troydieter

Hey @troydieter I haven't looked at this in a couple of years now but your project looks like a really good solution!

mattdell avatar Mar 03 '23 09:03 mattdell

I got this running in AWS Lambda with API Gateway and Serverless Aurora. If anyone is interested, let me know and I will write documentation on how to achieve this. I did not want to run this on ec2 as I rarely use the server and did not want to pay for always running ec2 instance.

sorry for digging this up, but I was wondering if you're able to share some documentation? I have a similar use-case and this stack would best suit my needs. Thanks in advance.

szymonczerny avatar Nov 06 '23 14:11 szymonczerny