How to run C++ files on the Google Cloud Functions?

tnet

From what I am aware, Google Cloud Functions only allows you to deploy NodeJs or Python scripts.

Question: How would I be able to deploy a simple Hello_World.cpp on Google Cloud Functions? For example, writing a hello world HTTP function.

What are alternate methods to do this? I want to use serverless approach, since it's cheapest method. Therefore, that is why I'm going with Google Cloud Functions. Would I have to use docker in order to run C++ files? I've been stuck on this for a while and any guidance or help would be appreciated.

amport

You can't use C++ on Cloud Functions, period. You can only use Node.js 6.14, Node.js 8.11.1 (beta) and Python 3.7 (also beta).

If you wish to use C++ in GCP with a serverless approach, my best suggestion would be running your own Custom Runtime in App Engine. You would still need to configure some instances options, but you don't have to manage servers and so on.

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

How to convert flask app into google cloud functions

分類Dev

How to schedule a docker run on google cloud

分類Dev

Python are not able to find files on google cloud run in production

分類Dev

How to have different Cloud Functions files for different firebase user accounts

分類Dev

Run Firebase cloud functions locally?

分類Dev

How can I upload files to Cloud Storage through Cloud Functions and use Firestore to control access to Cloud Storage?

分類Dev

How to run dynamic second query in google cloud dataflow?

分類Dev

How to use a Google Secret in a deployed Cloud Run Service (managed)?

分類Dev

Google Cloud FunctionsのPython

分類Dev

Dev environment for Google Cloud Functions

分類Dev

Google cloud functions http authentication

分類Dev

Google Cloud Functions: loading GCS JSON files into BigQuery with non-standard keys

分類Dev

How do I write compressed files to Google Cloud Storage using Google Cloud Dataflow?

分類Dev

How to access Google Cloud Platform Firestore triggers from Python runtime cloud functions

分類Dev

Google Cloud Run Container Networking

分類Dev

Firebase Cloud Functions and Busboy not parsing fields or files

分類Dev

Load big file from Google Cloud Storage into Google Cloud Functions?

分類Dev

Google Cloud Functions(Golang)とTerraform

分類Dev

Google Cloud Functions Bucket.upload()

分類Dev

HTTP POST Google Cloud Functions NodeJS

分類Dev

Accessing Firebase admin from google cloud functions

分類Dev

Google Cloud Functions Cron Job Not Working

分類Dev

Random Connection Error in Google Cloud Functions (Python)

分類Dev

How to clone a node to another path based on a reference value from the initial path on Google Cloud Functions?

分類Dev

learning how to get functions to run

分類Dev

google-cloud-run quarkus Keyloack

分類Dev

How to run docker in docker in Container-optimized OS on Compute Engine VM on Google Cloud?

分類Dev

How can I see request count (not rate) for a Google Cloud Run application?

分類Dev

Is it possible to upload files directly to the Google Cloud Storage?

Related 関連記事

  1. 1

    How to convert flask app into google cloud functions

  2. 2

    How to schedule a docker run on google cloud

  3. 3

    Python are not able to find files on google cloud run in production

  4. 4

    How to have different Cloud Functions files for different firebase user accounts

  5. 5

    Run Firebase cloud functions locally?

  6. 6

    How can I upload files to Cloud Storage through Cloud Functions and use Firestore to control access to Cloud Storage?

  7. 7

    How to run dynamic second query in google cloud dataflow?

  8. 8

    How to use a Google Secret in a deployed Cloud Run Service (managed)?

  9. 9

    Google Cloud FunctionsのPython

  10. 10

    Dev environment for Google Cloud Functions

  11. 11

    Google cloud functions http authentication

  12. 12

    Google Cloud Functions: loading GCS JSON files into BigQuery with non-standard keys

  13. 13

    How do I write compressed files to Google Cloud Storage using Google Cloud Dataflow?

  14. 14

    How to access Google Cloud Platform Firestore triggers from Python runtime cloud functions

  15. 15

    Google Cloud Run Container Networking

  16. 16

    Firebase Cloud Functions and Busboy not parsing fields or files

  17. 17

    Load big file from Google Cloud Storage into Google Cloud Functions?

  18. 18

    Google Cloud Functions(Golang)とTerraform

  19. 19

    Google Cloud Functions Bucket.upload()

  20. 20

    HTTP POST Google Cloud Functions NodeJS

  21. 21

    Accessing Firebase admin from google cloud functions

  22. 22

    Google Cloud Functions Cron Job Not Working

  23. 23

    Random Connection Error in Google Cloud Functions (Python)

  24. 24

    How to clone a node to another path based on a reference value from the initial path on Google Cloud Functions?

  25. 25

    learning how to get functions to run

  26. 26

    google-cloud-run quarkus Keyloack

  27. 27

    How to run docker in docker in Container-optimized OS on Compute Engine VM on Google Cloud?

  28. 28

    How can I see request count (not rate) for a Google Cloud Run application?

  29. 29

    Is it possible to upload files directly to the Google Cloud Storage?

ホットタグ

アーカイブ