Hermann  Frami

Hermann Frami

1617046500

What are Cloud Functions, Cloudflare Workers and Serverless?

Around the internet, I have regularly been seeing references to serverless, cloud functions, cloud workers, Cloudflare workers, Netlify functions etc. but I’ve never fully understood them. Now, I understand them but I am struggling to think of “real-world” use-cases for where our  clients are concerned.

I can see the appeal for personal projects, side projects and niche clients and uses where quick responses & data manipulation is required. I would love to see a case study or two where they have been used for huge government organisations or NGOs - if you have an example please do  let me know.

The following post is my experience with  Cloudflare Workers. However, the theory iIve been lead to believe, is very much the same no matter what service you use.

So what are they?

Serverless does not mean no server, there is always a server somewhere in the chain. What it does mean is that you don’t have to worry about the server configuration, it just “works”.

It’s amazing what a full circle we’ve come. When I started web dev cPanel was all the rage - you would create a site, FTP your files and and your site would be live. Then DigitalOcean came on the scene, followed by plenty of other baremetal & VPS providers where you would configure the server yourself. Docker then appeared, where you commanded what your server should be and do and now we are back to no configuration.

One thing that really helped me understand about Serverless was  Episode 224 of Syntax FM. Wes and Scott must have helped, as I listened to this last Friday and understood it all on Monday.

#serverless

What is GEEK

Buddha Community

What are Cloud Functions, Cloudflare Workers and Serverless?
Adaline  Kulas

Adaline Kulas

1594162500

Multi-cloud Spending: 8 Tips To Lower Cost

A multi-cloud approach is nothing but leveraging two or more cloud platforms for meeting the various business requirements of an enterprise. The multi-cloud IT environment incorporates different clouds from multiple vendors and negates the dependence on a single public cloud service provider. Thus enterprises can choose specific services from multiple public clouds and reap the benefits of each.

Given its affordability and agility, most enterprises opt for a multi-cloud approach in cloud computing now. A 2018 survey on the public cloud services market points out that 81% of the respondents use services from two or more providers. Subsequently, the cloud computing services market has reported incredible growth in recent times. The worldwide public cloud services market is all set to reach $500 billion in the next four years, according to IDC.

By choosing multi-cloud solutions strategically, enterprises can optimize the benefits of cloud computing and aim for some key competitive advantages. They can avoid the lengthy and cumbersome processes involved in buying, installing and testing high-priced systems. The IaaS and PaaS solutions have become a windfall for the enterprise’s budget as it does not incur huge up-front capital expenditure.

However, cost optimization is still a challenge while facilitating a multi-cloud environment and a large number of enterprises end up overpaying with or without realizing it. The below-mentioned tips would help you ensure the money is spent wisely on cloud computing services.

  • Deactivate underused or unattached resources

Most organizations tend to get wrong with simple things which turn out to be the root cause for needless spending and resource wastage. The first step to cost optimization in your cloud strategy is to identify underutilized resources that you have been paying for.

Enterprises often continue to pay for resources that have been purchased earlier but are no longer useful. Identifying such unused and unattached resources and deactivating it on a regular basis brings you one step closer to cost optimization. If needed, you can deploy automated cloud management tools that are largely helpful in providing the analytics needed to optimize the cloud spending and cut costs on an ongoing basis.

  • Figure out idle instances

Another key cost optimization strategy is to identify the idle computing instances and consolidate them into fewer instances. An idle computing instance may require a CPU utilization level of 1-5%, but you may be billed by the service provider for 100% for the same instance.

Every enterprise will have such non-production instances that constitute unnecessary storage space and lead to overpaying. Re-evaluating your resource allocations regularly and removing unnecessary storage may help you save money significantly. Resource allocation is not only a matter of CPU and memory but also it is linked to the storage, network, and various other factors.

  • Deploy monitoring mechanisms

The key to efficient cost reduction in cloud computing technology lies in proactive monitoring. A comprehensive view of the cloud usage helps enterprises to monitor and minimize unnecessary spending. You can make use of various mechanisms for monitoring computing demand.

For instance, you can use a heatmap to understand the highs and lows in computing visually. This heat map indicates the start and stop times which in turn lead to reduced costs. You can also deploy automated tools that help organizations to schedule instances to start and stop. By following a heatmap, you can understand whether it is safe to shut down servers on holidays or weekends.

#cloud computing services #all #hybrid cloud #cloud #multi-cloud strategy #cloud spend #multi-cloud spending #multi cloud adoption #why multi cloud #multi cloud trends #multi cloud companies #multi cloud research #multi cloud market

Adaline  Kulas

Adaline Kulas

1594166040

What are the benefits of cloud migration? Reasons you should migrate

The moving of applications, databases and other business elements from the local server to the cloud server called cloud migration. This article will deal with migration techniques, requirement and the benefits of cloud migration.

In simple terms, moving from local to the public cloud server is called cloud migration. Gartner says 17.5% revenue growth as promised in cloud migration and also has a forecast for 2022 as shown in the following image.

#cloud computing services #cloud migration #all #cloud #cloud migration strategy #enterprise cloud migration strategy #business benefits of cloud migration #key benefits of cloud migration #benefits of cloud migration #types of cloud migration

Ruby  Schmitt

Ruby Schmitt

1592582520

What are Cloud Functions, Cloudflare Workers and Serverless?

Around the internet, I have regularly been seeing references to serverless, cloud functions, cloud workers, Cloudflare workers, Netlify functions etc. but I’ve never fully understood them. Now, I understand them but I am struggling to think of “real-world” use-cases for where our clients are concerned.

I can see the appeal for personal projects, side projects and niche clients and uses where quick responses & data manipulation is required. I would love to see a case study or two where they have been used for huge government organisations or NGOs - if you have an example please do let me know.

The following post is my experience with Cloudflare Workers. However, the theory iIve been lead to believe, is very much the same no matter what service you use.

#serverless #functions #cloudflare workers

Noah  Rowe

Noah Rowe

1596645960

Cloud Function on GCP (Jakarta Region) & Serverless Framework

Hi everyone, I just heard from fellow Google Customer Engineer that Cloud Function now available in my region Jakarta! It is exciting news as now we can utilize the Cloud Function within the Region itself!

Cloud Functions Locations | Cloud Functions Documentation

Image for post

So with that kind of news, I am interested to actually test it out for a small experience of serverless in this new availability in the Jakarta region. (If you have any further or more elaborated experience please do share it with me!)

Now the idea is just to test the basic functionality of the Cloud Function to just do the most famous code ever (Hello World — who did not know this code?) and tested it with the HTTP trigger (the most basic one) and also tested the Serverless Framework to deploy the code.

Shall we test?

[One] let’s just try to create the function from the UI and go to Cloud Function — ensure that the API is already enabled — and create a new function.

Image for post

Sorry for the mistake caused by the dual monitor, I am kinda lazy to redo the capture. I created the function in Asia-southeast2 (Jakarta!) and allow unauthorized invocation.

Image for post

just use the default hello world function using the Node.js 12 and deploy

So after the deployment, we can test it through several ways which the easiest is through the UI

Image for post

Run!

These are the triggers that actually Cloud Function is able to use, so it is more than just meet the eyes. Well, I will keep the other for some future stories.

Image for post

For other kinds of test, we can use the gcloud cli call

gcloud functions call <function name> --region <region> --data {<any data>}

Image for post

It runs!

Or we can just use the plain old curl

curl -X POST "https://<region>-<project name>.cloudfunctions.net/<function name>" -H "Content-type:application/json" --data '{}'

#gcp #serverless #cloud-functions #serverless-framework #jakarta-region #function

Google Cloud: Caching Cloud Storage content with Cloud CDN

In this Lab, we will configure Cloud Content Delivery Network (Cloud CDN) for a Cloud Storage bucket and verify caching of an image. Cloud CDN uses Google’s globally distributed edge points of presence to cache HTTP(S) load-balanced content close to our users. Caching content at the edges of Google’s network provides faster delivery of content to our users while reducing serving costs.

For an up-to-date list of Google’s Cloud CDN cache sites, see https://cloud.google.com/cdn/docs/locations.

Task 1. Create and populate a Cloud Storage bucket

Cloud CDN content can originate from different types of backends:

  • Compute Engine virtual machine (VM) instance groups
  • Zonal network endpoint groups (NEGs)
  • Internet network endpoint groups (NEGs), for endpoints that are outside of Google Cloud (also known as custom origins)
  • Google Cloud Storage buckets

In this lab, we will configure a Cloud Storage bucket as the backend.

#google-cloud #google-cloud-platform #cloud #cloud storage #cloud cdn