Skip to content

Communal.tech

Sharing Knowledge

  • Tools

Month: August 2023

  • Home
  • 2023
  • August
MongoDB
json macos mongodb mongodump

MongoDB – Converting DB data to JSON using mongodump and bsondump

August 28, 2023August 19, 2023 Mike Morris

This worked better than I expected.  Converting the DB data to JSON is a one-way action. Well, at least I do not know of a way to convert it back.  I did not want to install mongo-tools on the server.  So after creating the dump I zipped the files up

Read More
Kubernetes Ingress
annotation ingress kubernetes

K8s – Add allowlist to existing Ingress

August 21, 2023August 19, 2023 Mike Morris

Once you have a working ingress in place, you may want to restrict access to it by IP.  Fortunately, K8s makes this pretty easy with a simple annotation. Edit the ingress Near the top should be the annotations metadata.annotations Add the following annotation and update it with the desired IPs

Read More
AWS S3
aws policy s3

AWS S3 Policy – Allow unrestricted download, restrict by IP

August 19, 2023August 19, 2023 Mike Morris

I needed this for a scenario where the client could not authenticate to S3 but still needed to be able to download files from the S3.  So I created this policy which allows all files to be downloaded but restricts access to the download action (s3:GetObject) by source IP.  Since

Read More
macos ssh

Managing .ssh for multiple clients on MacOS

August 13, 2023August 19, 2023 Mike Morris

We have hundreds of clients where I work, and now some of us, finally, get to use Macs.  We use mRemoteNG for managing ssh connections on Windows, but we needed a solution for Macs.  We needed an easy-to-use solution that allowed us to control who had access where. One of

Read More
Copyright communal.tech - All Rights Reserved 2023
Proudly powered by WordPress | Theme: Fairy Dark by Candid Themes.