Search

Donnerstag, 28. November 2019

Docker deployment into Google CLOUD

Google Cloud


Date when this services were used: current , day to day basis!


So here is the review of Google Cloud in regards to what i said in my previous blog.

Google cloud tools: console.cloud.google.com  , very good docu on docker in google cloud.
 
Honorable mentions:

Finally i can answer my 10 important questions about Google cloud:

1.    How much does it costs to run the small webapp in the cloud?
You need to enable the billing first for you project , after that you have (what was in my case)

Or you start without this free trial, which i did  and i paid less then 10 Euro for my site www.javaprofide.de

2. How fast your app can be deployed into the  cloud?
https://cloud.google.com/container-registry/docs/pushing-and-pulling?hl=en_US  gone trough this tutorial and i was pretty fast, when i think about my experience which was great!

3. How easy the configuration for the deployment in the cloud?
Pretty easy ! Awesome actually and you don’t need Kubernetes for that, if you need interesting tipps read here about cloud run!
Google cloud have command line tool for working with google cloud.
I must say it is one of the best experiences which I had working with cloud!
Run `gcloud help config` to learn how to change individual settings

Actually if you need kubernetes you can do that pretty easily!
you need to do some clicks and voila it works  check my site by the way which runs on google!

4. How can you scale resources in the cloud for your application?
Through Google Cloud Kubernetes you can create, delete and scale the size of your cluster and as i mentioned you can use the Google console for this work! The experience was really good!
You can even run your cluster on SSD ! I used the web interface to configure my cluster and all was pretty clear and understandable, the amount of hardware and the availability zones were pretty satisfied. 

5. Which additional services provide the cloud provider for extending your app?
I use Google Cloud DNS for managing my domain name it , this youtube video explain how to setup your Google Cloud DNS  , i didnt used the google docs for that, but the experience overall was not bad, actually good one.

6. How easy it would be to move the webapp to another cloud provider if you find better prices, which other cloud provider offers you?
I think there no problems on my side, my webapp is stateless and i don't use any databases in my app, if you do use database in your app and you already was able to dockerize it, then if it make sense in your case you should evaluate the cost running it in Kubernetes, i still struggling to understand how Kubernetes really works, but i see if you have container with volumes then things like speed, authorization, authentication can impact the overall performance of your application, my best advise build stuff locally and test it, its kind off crazy how many times i see clients which do not test the docker set up locally and then try to configure it in the cloud , i say if you have no resources to test your docker stuff locally , then don't migrate to cloud, otherwise test it before the actual deployment happen !  In my case again, i take out my container from the registry and deploy it to another cloud provider registry , then from there i can deploy the container to the kubernetes of other cloud provider set up load balancer and then later the DNS set up and THAT'S IT! 

7. What kind of tools you need to know to be able to deploy into the cloud?
Docker , Docker and once again Docker! Sure knowing the Kubernetes feature cool too, but i say to get started in the Cloud you need to understand Docker, in my case with Google Cloud it was pretty easy and fun, once again if you have stateful app, then more work into dockerization should be put, but if you use Google Cloud service there no need to work directly with console !
If you need console access it is provided by Google Cloud and i found this as good solution.

8. Is there any additional maintenance for you app?
Well sure if you develop and deploy on daily basis you build new container image and deploy it to registry, then you need to tell Kubernetes to take the new deployed container to update the corresponding pods in Kubernetes , after that it runs pretty fast and awesome, personally i just do dumb stuff delete of current docker container, then go to kubernetes and say delete cluster node and create new one, it takes some time and in the future i just will use kubectl to update the container in kubernetes pods, sure if you have more complex docker setup it probably take more time , but overall my experience running kubernetes in Google Cloud was awesome.

9. What kind of tools does cloud provider give you to analyze the performance of your app?Google Cloud gives you more options all is configurable!



10. How secure the cloud environment where you running your app?
Well i must say its secure enough, but i didn't done any security testing for my webapp, but the amount of open ports to internet is configurable, through load balancer and there on main home view of your google cloud services you can see the amount of error which your app produces, sure big concern of any middle size company is how secure the data stored on google cloud premises, i sincerely can't answer this question, Google has commitment to have stable , fast and reliable data centers and in any point of time i didn't experienced any downtime on my site , one notable thing in Google Cloud after you deploy your container to registry, Google Cloud automatically verify your container for vulnerabilities

So i must say its good enough to trust Google (in regards to cloud services!), but if you want to be sure, you need own security stuff or hire contractor to test your security to make 100% sure that no one can hack into your system!

Conclusion: 
Kubernetes is tool which was developed by Google so it's obvious to me that experience of using this tool in Google Cloud will be most fun and enjoyable, finally what i must say its the speed of deployment if i compare with IBM and Oracle clouds , i must say Google don't ask for credit card in advance , sure you will be billed too , but this is quite different experience in comparison to IBM and Oracle clouds. 
I am still working on review of further cloud providers (IBM, Oracle, Azure, Amazon AWS), but i definitely see that Google wins in regards of speed of deployment and the tools which Google provide to developer  are simply easy and fun to use.

Interested in more reviews?
Lookup following comparison table of other cloud providers.

Keine Kommentare:

Kommentar veröffentlichen

All comments are pre moderated be polite and respectful!

Blog-Archiv

Blog readers favorites