Category Archives: Alibaba Cloud

Installing Kubernetes on Alibaba Cloud Elastic Compute Service

Baru sadar sekarang ternyata sudah ada 186 artikel/tutorial sejak tahun 2003 yang sudah saya tulis(author) dan publish di internet melalui blog saya di https://henry.gultom.or.id . Saya belajar  di komunitas jadi kita harus giving back ke komunitas kembali dan jangan simpan sendiri ilmunya nanti tidak menjadi berkat.

Era platform open-source masih terus digunakan sampai sekarang dan menjadi sangat populer, sejak 25 August 1991 Linus Benedict Torvalds mempublish Linux kernel pertama kali dan berkembang sampai Linux Distribution pertama di release. Tahun 1993 distribusi Linux Slackware lahir dan diikuti di tahun yang sama Linux Debian.  Oke cukup bicara histori, kita lanjut ke pendatang baru yang lagi sangat tenar sekarang yaitu Kubernetes.

Kubernetes merupakan platform open-source yang digunakan untuk melakukan manajemen workloads aplikasi yang dikontainerisasi, serta menyediakan konfigurasi dan otomatisasi secara deklaratif. Kubernetes berada di dalam ekosistem yang besar dan berkembang cepat. Servicesupport, dan perkakas Kubernetes tersedia secara meluas Kubernetes menyediakan manajemen environment yang berpusat pada kontainer. Kubernetes melakukan orkestrasi terhadap computingnetworking, dan inftrastruktur penyimpanan. Fitur inilah yang kemudian membuat konsep Platform as a Service (PaaS) menjadi lebih sederhana dilengkapi dengan fleksibilitas yang dimiliki oleh Infrastructure as a Service (IaaS).

Mau cepat paham ayo di coba/test/produce/reproduce jangan baca teori saja. Orang kita kadang malas mencoba, tapi maunya banyakin sertifikat saja.

Ujicoba saya kali ini menggunakan :
– Ubuntu 16.04.7 LTS (GNU/Linux 4.4.0-198-generic x86_64)
– Kubernetes dan Docker
– VM CPU and Memory 2Cores 4GiB running di Alibaba Cloud (sorry ini bukan promosi).

Let’s start, logged to VM using ssh :

sh-3.2# ssh root@47.254.16.185
The authenticity of host ‘47.254.16.185 (47.254.16.185)’ can’t be established.
ECDSA key fingerprint is SHA256:RveCyz8yQAJeS4dMElxwK3cWSUnZGdHirKrLmzIMRtc.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added ‘47.254.16.185’ (ECDSA) to the list of known hosts.
root@47.254.16.185’s password:
Welcome to Ubuntu 16.04.7 LTS (GNU/Linux 4.4.0-198-generic x86_64)

* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage

38 packages can be updated.
38 of these updates are security updates.
To see these additional updates run: apt list –upgradable

Welcome to Alibaba Cloud Elastic Compute Service !

Last login: Thu Feb 18 17:01:24 2021
root@iZrj95zw0q0jnwnzbep2nxZ:~#

root@iZrj95zw0q0jnwnzbep2nxZ:~# apt-get update
Hit:1 http://mirrors.cloud.aliyuncs.com/ubuntu xenial InRelease
Hit:2 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates InRelease
Hit:3 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security InRelease
Reading package lists… Done
root@iZrj95zw0q0jnwnzbep2nxZ:~#v

Install Docker :

Continue reading

3 Ways to Set Up a Linux Server on Alibaba Cloud

Alibaba Cloud Elastic Compute Service (ECS) provides a faster and more powerful way to run your cloud applications as compared with traditional physical servers. You can achieve great results on your cloud needs. With ECS, you can achieve more with the latest generation of CPUs as well as protect your instance from DDoS and Trojan attacks.

In this guide, we will talk about the best practices for provisioning your CentOS 6 server hosted on an Alibaba Cloud Elastic Compute Service (ECS) instance.

Prerequisites

  1. A valid Alibaba Cloud account. If you don’t have one already, sign up to the Free Trial to enjoy up to $300 worth in Alibaba Cloud products.
  2. An ECS instance running CentOS 6. You can select your preferred region and configurations; this will not affect the outcome of the server setup.
  3. A root password for your server.

Step 1: Connect to your Alibaba Cloud CentOS 6 Server

Locate the Internet IP address (Public IP address) associated with your Alibaba Cloud ECS Instance.

Continue reading

How to Deploy a Node.js Application on CentOS with Alibaba Cloud Starter Package

By Roha Gagan, Alibaba Cloud Community Blog author.

If you are planning to host a Node.js application or dynamic website on Alibaba Cloud, then an optimal and economical solution with high bandwidth, SSD and powerful CPU might interests you. Introducing Alibaba Cloud’s Starter Package Program, which provides SSD Cloud servers powered by 2nd Generation Intel Xeon Scalable Processors at highly affordable prices compared to other cloud providers. It allows you to access a powerful CPU at a much lower cost and supports both, Linux and Windows servers worldwide.

Alibaba Cloud’s Starter Package helps you get started instantly through simple, scalable, and cost-effective Elastic Compute Service (ECS) that caters to all your cloud hosting needs. The new SSD Cloud Server Packages provide easy-to-use, high-performance virtual machines with higher data transfer plans at hugely discounted rates for enabling you to start from as low as $2.50 a month. Since it is available across 14 global regions, you can easily choose the Datacenter Region for your servers to meet any specific requirements. It allows each user to have up to five ECS instances with the simultaneous Data Transfer Plans.

So, once you have reserved your SSD Cloud Server via Starter Package 2.0, you can go ahead and easily deploy a Node.js project on CentOS operating system by following the instructions below:

Prerequisites

To build your dynamic website by deploying a Node.js project on CentOS, you should meet the following requirements:

  • Alibaba Cloud account. In case you don’t already have one, set up an account before continuing
  • SSH like PuTTy or RDP client (optional) installed on your computer

 

Continue reading