Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
222 views
in Technique[技术] by (71.8m points)

amazon web services - "Vue+S3+Lambda" architecture on Google Cloud

My single page website (VueJs) has only very few transactions, so I would like to implement it using serverless architecture.

A recommended architecture on AWS for a simple Web Application is the following:

  • Vue App uploaded on AWS S3
  • Connect to Backend via REST API
  • Use Lambda Funktions to connect to a Database

However, I would like to do this on Google Cloud as I plan to use BigQuery for Analytics.

What would be a similar and suitable architecture using Google GCP products to launch my Vue-based website with some straight forward backend processes?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You can use:

  • Cloud Storage for S3
  • API Gateway or Cloud Endpoints for REST API (compare your load needs and pricing)
  • Cloud functions for lambda

As for implementation complexity it will be more-less same. Some features are implemented in GCP much more convenient than in AWS and some - vice versa.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

56.8k users

...