Skip to main content

Posts

instances and firewall with GCP CLI

In Cloud Shell, paste and run the following commands to create a few instances: for i in {1..3}; \ do \ gcloud compute instances create "nginxstack-$i" \ --machine-type "f1-micro" \ --tags nginxstack-tcp-443,nginxstack-tcp-80 \ --zone us-central1-f \ --image "https://www.googleapis.com/compute/v1/projects/bitnami-launchpad/global/images/bitnami-nginxstack-1-10-2-0-linux-debian-8-x86-64" \ --boot-disk-size "200" --boot-disk-type "pd-standard" \ --boot-disk-device-name "nginxstack-$i"; \ done Run the following command to create a firewall rule to allow external traffic to the instances: gcloud compute firewall-rules create nginx-firewall \ --allow tcp:80,tcp:443 \ --target-tags nginxstack-tcp-80,nginxstack-tcp-443

Getting Started with Kubernetes Engine | GCP

Getting Started with Kubernetes Objectives In this lab you create a Kubernetes Engine cluster containing several containers, each containing a web server. You place a l oad balancer in front of the cluster and view its contents. In this lab, you learn how to perform the following tasks: Provision a  Kubernetes  cluster using  Kubernetes Engine. Deploy and manage Docker containers using  kubectl .Sign in to the Google Cloud Platform (GCP) Console Make sure that you have access to a standard web browser. The Google Chrome browser is recommended Sign in to the Google Cloud Platform Console by using the username and password  Confirm that needed APIs are enabled Make a note of the name of your GCP project. This value is shown in the top bar of the Google Cloud Platform Console. It will be of the form  qwiklabs-gcp- followed by hexadecimal numbers. In the GCP Console, on the  Products & Services  ( ) menu, click...

LAMP Installation

How  To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu v   LAMP STACK  GETTING STARTED  APACHE   MYSQL  PHP  UBUNTU Introduction A "LAMP" stack is a group of open source software that is typically installed together to enable a server to host dynamic websites and web apps. This term is actually an acronym which represents the  L inux operating system, with the  A pache web server. The site data is stored in a  M ySQL database, and dynamic content is processed by  P HP. In this guide, we'll get a LAMP stack installed on an Ubuntu 14.04 Droplet. Ubuntu will fulfill our first requirement: a Linux operating system. Note:  The LAMP stack can be installed automatically on your Droplet by adding  this script  to its User Data when launching it. Check out  this tutorial  to learn more about Droplet User Data. Prerequisites Before you begin with this guide, you should have a separate, non...

Want to know about the middle East war ? Syria | Aleppo | IS | Assad | Putin

If you are like me and are struggling to understand Aleppo/Mosul/IS/etc and figure out who or what to root for ... I found this excellent. Sorry I could not find original author. "In case you don't know what's happening in the middle east. President Assad ( who is bad ) is a nasty guy who got so nasty his people rebelled and the Rebels ( who are good ) started winning ( Hurrah!). But then some of the rebels turned a bit nasty and are now called Islamic State ( who are definitely bad!) and some continued to support democracy ( who are still good.) So the Americans ( who are questionably good ) started bombing Islamic State ( who are bad ) and giving arms to the Syrian Rebels ( who are good ) so they could fight Assad ( who is still bad ) which was good. By the way, there is a breakaway state in the north run by the Kurds who want to fight IS ( which is a good thing ) but the Turkish authorities think they are bad, so we have to say they are bad whilst secretly thin...

How to create a Free Website on AWS Cloud Servers

The best way to think of the free tier to Amazon Web Services is as a stepping-stone. It's a way to get your feet wet with the basic mechanisms of AWS and EC2; to understand Amazon's way of handling virtual machine instances, storage, data, and networking; and to create something that can eventually be hosted on a full-blown, for-pay AWS instance. It's also a way to learn how to manage and constrain AWS usage -- if you're not careful you may end up paying for your "free" AWS usage after all. In this article, we'll look at what the free tier offers you and on what terms, then take a closer peek at what's possible or practical within those constraints. In the long run, any serious AWS user will want to take fuller advantage of what the Amazon cloud has to offer -- but why not make the most of the free resources in the meantime? The free tier is a great way to find one's legs with AWS, start some projects, and maybe even build a functional applica...

Plex is a free media server and player software | Setup and Installation

WHAT IS PLEX? Plex is a free media server and player software that you can use to organize, stream, and share your videos, photos, and music. Think of it as your own personal Netflix service for your media. You set up a Plex server and can then use the Plex client apps on your web browser, phone, TV, and more to access your media. See the official Plex video  here  for more details.  This guide will walk you through installing Plex, setting up remote access...I will be using an Ubuntu 16 server-minimal installation for this guide, but Plex is available for a very wide variety of devices and systems. The installation steps may vary some, but the management and access will be very similar across all options. REQUIREMENTS The requirements here are pretty simple as most of this will be using the Plex web GUI. You do need a few things to get started: A server to install Plex on (If your server does not have a GUI) A computer to configure Plex from the Web interf...