drhzn3911 2017-05-11 15:42
浏览 37

Go + MySql:迁移到GKE(Google云容器引擎)有多容易?

My project is currently hosted by an independent cloud provider.

I am using 2 Virtual Machines, with Linux:

  • one hosts a Go application
  • one hosts a MySql database

I would now like to move to the Google Cloud Platform.

Do you think does it make sense to move to Google Cointainer Engine (GKE), rather than to the Google Compute Engine (which would have the same virtual machine model (IaaS) I am using with the current provider)?

I have never used Kubernetes and Docker. How easy would it be to make the migration? Am I going to complicate my life uselessly?

How difficult is the configuration for my simple model?

  • 写回答

1条回答 默认 最新

  • dousi8931 2017-05-11 21:11
    关注

    I have never used Kubernetes and Docker.

    Moving to a platform that you have no experience with doesn't sound like a great idea. Instead, why not start by doing some tutorials about Docker and then Kubernetes?

    After that, you might try Minikube (https://kubernetes.io/docs/getting-started-guides/minikube/) locally to start writing some manifests for the components (which sound like maybe a DaemonSet or single Pod with PersistentVolume for MySQL and a Deployment for the Go application).

    Once you have the pieces working locally, then it would probably make more sense to think about migrating. You would have a much better understanding of what you are getting into and if it is something you would want to undertake.

    评论

报告相同问题?

悬赏问题

  • ¥15 关于大棚监测的pcb板设计
  • ¥15 stm32开发clion时遇到的编译问题
  • ¥15 lna设计 源简并电感型共源放大器
  • ¥15 如何用Labview在myRIO上做LCD显示?(语言-开发语言)
  • ¥15 Vue3地图和异步函数使用
  • ¥15 C++ yoloV5改写遇到的问题
  • ¥20 win11修改中文用户名路径
  • ¥15 win2012磁盘空间不足,c盘正常,d盘无法写入
  • ¥15 用土力学知识进行土坡稳定性分析与挡土墙设计
  • ¥15 帮我写一个c++工程