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
AWS Transit VPCs
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.
SSH to CodeCommit
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.
Create a Repository in CodeCommit
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" |
Enjoy.
Amazon Polly
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 Selling Routers
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.
AWS RDS Patching
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.
Deleting AWS Security Groups
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.