Categories
Cloud General Topics and tips NiHao Cloud Documentation Products Storage Tools & How-Tos

Serve media using NiHao Cloud

Visuals and media content are much more important for the overall impression of applications. We prefer visuals over textual content. There is no meaning of visuals if they’re not of high quality. With the emergence of cloud environments, we have found a way of effectively storing the data. But the question lies on how to deliver that media to clients. Let’s see how we can leverage Sesame Disk by NiHao Cloud to enhance the performance.

Design and develop
credits

What’s the use case?

Suppose you’re running a website that obviously has high-quality images and probably videos. Rather than storing all content on the webserver and chokes its performance, store all files in a cloud provider and enable public visibility. Nowadays, object storage provides allows publicly accessible links so we can simply paste those links in our web content load in the runtime.

High-level benefits of this setup:

  • Enhances webserver performance because we’re not actually storing any media in it.
  • No worries regarding managing the media on our own as a cloud provider will maintain.
  • Furthermore, we can set CDN for those objects to ensure faster delivery.

Demonstration:

Find below a simple code where one webpage is having an image in it. Basically, the image is stored in the NiHao cloud systems and a link for public access is generated and fed in the code. Click on share in the NiHao cloud console and generate a link. The link will look something like this:

https://app.nihaocloud.com/f/04&%5f64231#$%#!!#/?dl=1
Simple code for the website
code

This is as simple as it looks.! Whenever someone will hit your website, the textual and media content will be loaded simultaneously and will look seamless process.

Website showing image called from NiHao cloud
output

Such setup helps a lot for larger and complex environments and makes the process way more sufficient to manage. And the end-user will also get enhanced performance if CDN is integrated. Sesame Disk offers CDN service by default to ensure clients get the best possible response always. Do read article on lazy loading content which is very much related to article above!

Hits: 17

Categories
Cloud General Topics and tips Tools & How-Tos

What is a VPN?

A Brief Overview of Cloud VPN.

VPN stands for Virtual Private Network that is like a tunnel that allows more secure access to the internet. VPN basically masks the IP address so the online actions are virtually untraceable. In addition, VPN service establishes a secure and end-to-end encrypted channel to provide greater privacy.

Why VPN?

Surfing the web on an unsecured network means probably you are about to expose your identity and browsing patterns. Your random surfing is input data for someone stalking in-between. That’s why a virtual private network aka VPN is preferred for the ones who are concerned about web privacy and security.

An introduction to VPN
credits

A Virtual Private Network lets you hide:

Browsing history:

 It’s nothing secret as soon as you enter the internet. Even the so-called private browsers are not so private and even we can’t blindly trust on the data provider for our protection. With Virtual Private Network service, one can avoid such activities.

IP address and location:

VPN masks the original identity of the user and uses some other IP while surfing. It ensures maintaining online privacy and search on the web anonymously.

Device information:

With such service, we can protect devices which may be prime targets for the culprits.

China Mainland

Currently in China Mainland you will need a VPN to access some services. Aside we we and understand our Cloud provider are not advising you to get a VPN if you are in china. This is because as the government of china considers having it ilegal in many cases. Check out our post about the GFW for more information. Therefore we aim to create a service that is NOT blocked in China or anywhere else.

What is Cloud VPN?

This kind of Virtual Private Network is hosted and managed by some companies and provides globally accessible service to the end-users. It is also known as a VPN as a Service. The objective is to provide the service accessible across the globe without worrying about the infrastructure. And only pay for the resource you use.

There are a large variety of options in the market. It becomes so important to consider specific needs while shopping for such services. A good service should respect user privacy, run on protocols, server locations, device and data limit constraints, and most important cost.

It’s always good to be safe. Lately, data theft has become rampant and they just target everyone. Using such chunks of services like VPN, we can avoid such activities on a significant scale.

Hits: 11