Skip to content

Commit 7c739d0

Browse files
authored
docs: add ec2 instructions to readme
1 parent 4f7105d commit 7c739d0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,18 @@ This repo contains code used to run the [online demo](https://vladholubiev.com/s
3131

3232
Compiled and ready to use archive can be downloaded under [Releases section](https://github.com/vladgolubev/serverless-libreoffice/releases).
3333

34+
# How to compile it yourself on EC2
35+
36+
1. Go to [Lambda Execution Environment and Available Libraries](https://docs.aws.amazon.com/lambda/latest/dg/current-supported-versions.html) page to get the latest AMI id
37+
2. Click on [this link](https://console.aws.amazon.com/ec2/v2/home#Images:visibility=public-images;search=amzn-ami-hvm-2017.03.1.20170812-x86_64-gp2) to get AMI id for your region
38+
3. Spin up a `c5.2xlarge` spot instance with ~ 100 GB of storage attached
39+
4. Follow the steps in `compile.sh` file in the repo
40+
41+
# Help
42+
43+
* [List of RPM Packages available in AWS Lambda](https://gist.github.com/vladgolubev/1dac4ed47a5febf110c668074c6b671c)
44+
* [List of Libraries available in AWS Lambda](https://gist.github.com/vladgolubev/439559fc7597a4fb51eaa9e97b72f319)
45+
3446
# How To Help
3547

3648
## Reduce Cold Start Time

0 commit comments

Comments
 (0)