How about running GKE (Google Kubernetes Engine) on your own data center. Why would anyone do that while everyone else is moving to the cloud. Well, Google is creating a stepping stone to move enterprises to the cloud. What a better way than to build a bridge that will shorten the gap. GKE On-Prem service will include access to all GKE cloud features, including the ability to register, manage clusters and monitoring via a service called Stackdriver. GKE On-Prem will include a direct line to the GCP Marketplace, which has support for Kubernetes-based applications.
Archives for July 2018
If you have multiple VPCs located in geographically diverse regions, you can connect them together using a new service called Transit VPCs. It’s a logically isolated VPC which can act as a bridge for launching and transferring data between regions. It can work as global transit center between other VPCs within your organization. Learn more by reading about it from AWS announcement.
Although you can access CodeCommit from the AWS Console, the most efficient way to access it, is via SSH. Assuming you already have an IAM user, as well as Git installed on your local machine, it’s time to setup a SSH connection to CodeCommit by performing the following commands.
- Generate a RSA key pair
- Copy the public key to the clipboard.
- Upload the SSH public key to the AWS IAM Console.
- You’ll receive a SSH Key ID.
- Create a config file
- chmod 600 config
- Test connection
- Clone repo
To get more details regarding SSH access to CodeCommit, visit the AWS docs.
CodeCommit is a version control system hosted in AWS that you can use privately to store and manage your source code, documents or binary files. You can get free (as in beer) unlimited repositories, if you have less than 5 users, and if your storage is less than 50 GB-month, and you have less than 10,000 git requests per month. If you have more than 5 users, it’s $1 a month per user. Still not bad. Here’s CodeCommit pricing.
Create a repository in CodeCommit via the Console or the CLI.
aws codecommit create-repository --repository-name myrepo --repository-description "My repository"
Create in another region.
aws codecommit create-repository --region us-west-2 --repository-name myrepo --repository-description "My repository"
AWS has a service that turns text into speech called Polly. You can choose what type of voice, language and gender. AWS recently added a simple form, for an easy text to speech conversion and download. The form is limited to 3000 characters or less. The converted file is a MP3 format. For larger texts, the converted audio file will be stored in a S3 bucket for later retrieval. Using Amazon Polly along with Translate will be a cool experiment. AWS Translate is a natural language translation service.
Amazon tends to be dipping in their toes into everything. Remember Whole Foods. If that wasn’t enough, Amazon started competing with drugstores six months ago when it acquired Pillpack. Shares of Walgreens and CVS went down 9 percent as a result. Now, Amazon is saying that they want to compete with network companies like Cisco, Juniper and Arista. Potentially, Amazon can sell networking data switches at deep discounts ranging anywhere from 50% up to 80% discount. That’s bad news for some networking companies.
RDS is a managed service by AWS. Patching is performed infrequently. Sometimes, it takes a few months. AWS performs these updates during the maintenance period. If no maintenance period was specified during DB creation, it will be assigned a default period. When patching is performed, AWS may need to stop and reboot your RDS instance right after patches are applied. To avoid potential downtime, make sure your RDS instances are configured in a Multi-AZ environment. Patching will be applied on each RDS instance separately, therefore avoiding downtime for your application.
Every once in a while, you may need to do some cleanup and perform maintenance in AWS. One area where you can do some cleanup is the security groups. To check if security groups are in-used, is by way of the AWS Console. You can filter the security group via Instances. But that is not going to be enough. Security groups are also used in RDS as well as in load balancers. Overall, you have to be extra careful not to delete a security group that’s in-use. Fortunately, AWS will prompt you if you try to delete a security group that is still in-use. It’s a safety feature that can potentially save you from headaches.
Ubuntu 16.04 has a feature called Snap packaging. Snaps are containerized software packages that are simple to create, and easy to install on all major Linux systems. Snap packages are self-contained and separate from your system files. There are no complex dependencies or interference. The packages are safe to run since snap packages and their data are separate from your system files. Updates are automatic and only download what has changed. You can revert to a previous version at any time. Any updates can also be reversed.
To install snap in Ubuntu, run this command from the Terminal.
$ sudo apt install snapd
To install snap packages, run the following:
$ sudo snap install packagename
To get a list of packages installed on your system:
$ snap list
To automatically update the packages, just run the following:
$ sudo snap refresh packagename
To revert changes or remove a package, perform the following:
$ sudo snap revert packagename $ sudo snap remove packagename
Super easy to use.
This is what happens when AI takes over billing issues. The element of leniency, fairness and humanity goes out the window. Such is the case when servers were automatically shut down by Google Cloud due to a billing issue. Services were shut down because of a credit card problem. The email sent by Google to the company even threatened to delete the project if the billing issue is not resolved in three days. Read article.