Skip to content

Commit 3e5f0da

Browse files
committed
Remove support for google cloud
1 parent abf22c5 commit 3e5f0da

File tree

12 files changed

+16
-222
lines changed

12 files changed

+16
-222
lines changed

README.md

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,20 @@
22

33
These examples demonstrate how to use [faast.js](https://github.com/faastjs/faast.js) in different ways.
44

5-
| example | description | language |
6-
| ------------------------------- | ----------------------------------------------------- | ---------- |
7-
| [aws-command][] | run a command on AWS | TypeScript |
8-
| [aws-cost-analyzer-js][] | cost analyzer example | JavaScript |
9-
| [aws-cost-analyzer-ts][] | cost analyzer example | TypeScript |
10-
| [aws-js][] | aws example showing common feaures | JavaScript |
11-
| [aws-lodash-ts][] | example using lodash as a bundled dependency | TypeScript |
12-
| [aws-puppeteer-ts][] | example using puppeteer as a native dependency | TypeScript |
13-
| [aws-sharp-ts][] | example using sharp as a native dependency | TypeScript |
14-
| [aws-ts][] | aws example showing common features | TypeScript |
15-
| [babel][] | babel example | JavaScript |
16-
| [cost-analyzer-comparison-ts][] | compare AWS Lambda and Google Cloud Functions pricing | TypeScript |
17-
| [gcp-ts][] | google cloud example showing common features | TypeScript |
18-
| [gcp-js][] | google cloud example showing common features | JavaScript |
19-
| [hello-world-js][] | hello world | JavaScript |
20-
| [hello-world-ts][] | hello world | TypeScript |
5+
| example | description | language |
6+
| ------------------------------- | ---------------------------------------------- | ---------- |
7+
| [aws-command][] | run a command on AWS | TypeScript |
8+
| [aws-cost-analyzer-js][] | cost analyzer example | JavaScript |
9+
| [aws-cost-analyzer-ts][] | cost analyzer example | TypeScript |
10+
| [aws-js][] | aws example showing common feaures | JavaScript |
11+
| [aws-lodash-ts][] | example using lodash as a bundled dependency | TypeScript |
12+
| [aws-puppeteer-ts][] | example using puppeteer as a native dependency | TypeScript |
13+
| [aws-sharp-ts][] | example using sharp as a native dependency | TypeScript |
14+
| [aws-ts][] | aws example showing common features | TypeScript |
15+
| [babel][] | babel example | JavaScript |
16+
| [cost-analyzer-comparison-ts][] | compare AWS Lambda pricing | TypeScript |
17+
| [hello-world-js][] | hello world | JavaScript |
18+
| [hello-world-ts][] | hello world | TypeScript |
2119

2220
[aws-command]: ./aws-command
2321
[aws-cost-analyzer-js]: ./aws-cost-analyzer-js
@@ -29,8 +27,6 @@ These examples demonstrate how to use [faast.js](https://github.com/faastjs/faas
2927
[aws-ts]: ./aws-ts
3028
[babel]: ./babel
3129
[cost-analyzer-comparison-ts]: ./cost-analyzer-comparison-ts
32-
[gcp-ts]: ./gcp-ts
33-
[gcp-js]: ./gcp-js
3430
[hello-world-js]: ./hello-world-js
3531
[hello-world-ts]: ./hello-world-ts
3632

cost-analyzer-comparison-ts/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
1-
# faast.js Cost Analyzer example comparing AWS Lambda and Google Cloud Functions costs
1+
# faast.js Cost Analyzer example comparing AWS Lambda costs
22

3-
The cost analyzer summarizes the cost of running a particular workload against multiple configurations. In this example, we generate 100,000 random numbers in each workload. For each memory size, the workload is executed 10 times. Then the workload is executed on both AWS Lambda and Google Cloud Functions, with memory sizes that include 128MB, 256MB, 512MB, 1024MB, 2048MB. In addition, AWS is tested with 1728MB. The results are printed in real time to the console and also output in CSV format to the file "cost.csv".
3+
The cost analyzer summarizes the cost of running a particular workload against multiple configurations. In this example, we generate 100,000 random numbers in each workload. For each memory size, the workload is executed 10 times. Then the workload is executed on AWS Lambda with memory sizes that include 128MB, 256MB, 512MB, 1024MB, 2048MB. In addition, AWS is tested with 1728MB. The results are printed in real time to the console and also output in CSV format to the file "cost.csv".
44

55
## Prerequisites
66

77
- Node 8+.
88

99
- AWS account and IAM user. See faast.js documentation for account setup instructions.
1010

11-
- Google Cloud account. See faast.js documentation for account setup instructions.
12-
1311
## Installing dependencies
1412

1513
```shell

cost-analyzer-comparison-ts/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ const configurations = [
1515
...CostAnalyzer.awsConfigurations.filter(c =>
1616
memorySizes.find(m => m === c.options.memorySize!)
1717
)
18-
// ...CostAnalyzer.googleConfigurations.filter(c =>
19-
// memorySizes.find(m => m === c.options.memorySize!)
20-
// )
2118
];
2219

2320
async function compareCloudCosts() {

gcp-js/README.md

Lines changed: 0 additions & 44 deletions
This file was deleted.

gcp-js/functions.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

gcp-js/index.js

Lines changed: 0 additions & 26 deletions
This file was deleted.

gcp-js/package.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

gcp-ts/README.md

Lines changed: 0 additions & 50 deletions
This file was deleted.

gcp-ts/functions.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

gcp-ts/index.ts

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)