2021 Fillmore Street #1128

}

24/7 solutions

How to connect to an AWS DocumentDB from a Kubernetes Pod

If you’re using AWS DocumentDB with Kubernetes and you want to connect to your DocumentDB cluster, you’ll first need to configure your AWS and Kubectl command line interfaces. You can learn how to use the AWS CLI and Kubectl here. After you’re able to connect to your Kubernetes cluster via the AWS command line, you’ll […]
AllCode AWS DocumentDB

If you’re using AWS DocumentDB with Kubernetes and you want to connect to your DocumentDB cluster, you’ll first need to configure your AWS and Kubectl command line interfaces. You can learn how to use the AWS CLI and Kubectl here.

After you’re able to connect to your Kubernetes cluster via the AWS command line, you’ll need to spin up a new pod to enable you to connect to your Document DB instance. To spin up a new pod, use the following kubectl command

kubectl run -i --rm --tty mongo-client --image=mvertes/alpine-mongo --restart=Never --command -- /bin/bash

The run command will create and run a particular image,. The –image will be the docker container from http://github.com/mvertes/docker-alpine-mongo. This will create the mongo client pod. We’ll set the pod to never restart, and we will want to enter into the new pod with bash.

Related Articles

AWS Free Tier

AWS Free Tier

Understandably, making the jump to the AWS cloud is not an easy investment to evaluate, especially from the perspective of a startup. Fortunately, AWS is generous enough to provide some hands-on experience with its various tools and utilities free of charge for either a short period of time or indefinitely depending on the service type. Here’s a rundown of everything you can expect from AWS’ Free Tier.

AWS Beginner Guide

AWS Beginner Guide

AWS (Amazon Web Services) is the current largest provider in Infrastructure as a Service (IaaS) and Platform as a Service (PaaS) for everything from databases to extra computing power. It provides solutions for whatever problems are brought by clients and it allows for ease of scalability so that users will only pay for what they need and use; especially during times of expected lower traffic.

How to Migrate an On-Premises Database to AWS

How to Migrate an On-Premises Database to AWS

The AWS Database Migration Service (AWS DMS) assists you in performing a safe and speedy migration of databases to AWS. The source database continues to function normally throughout the migration, hence reducing the amount of downtime experienced by applications that are dependent on the database. Data can be moved to or from the most popular commercial and open-source databases with the help of the AWS Database Migration Service.

Download our 10-Step Cloud Migration ChecklistYou'll get direct access to our full-length guide on Google Docs. From here, you will be able to make a copy, download the content, and share it with your team.