Category: Systems
-
Softlinks in Synology
The FileStation UI will not let you create a softlink. You will only be able to create “shortcuts,” which are either under favorites, or desktop. However, since Synology is basically an Alpine based Linux System, it is simple to log into the box through SSH and create a symlink using the command: This will easily…
-
Monitoring a Synology Filesystem with AWS SQS
Use Case I would like to monitor events from a Synology NFS mount on another system. Solution Python module to monitor and forward filesystem events to an AWS SQS queue, that my external system can monitor and act upon Install Python 3 on Synology To do this, visit the Synology Package Center, search for “python”…
-
User Synchronization in APS from Keycloak
TL;DR : Using keycloak as an IDM or LDAP Domain Aggregator Download the APS Identity Sync Extension: https://github.com/alex4u2nv/aps-ais-authority-sync/releases/download/v1.0.0/aps-identity-sync-java-1.0.0-jar-with-dependencies.jar Configure APS to Integrate with Keycloak as in the example activiti-identity-service.properties Configure Keycloak to integrate with multiple LDAP domains via User Federation service. Authenticate into APS using users that were synchronized. If Keycloak authentication is enabled, then authenticate…
-
How to get Docker Vault going in no time
Quick Steps Walkthrough This walk through is targeted for audiences who are new to Vault, or dev ops who just need an API to develop auto deployment scripts against. A production environment should be installed and operated by a Hashicorp Vault expert. Pull and Run Pull the docker image and run it in the foreground…
-
Get that ACS 6 Community EA dev env up and running
Get ACS 6 EA on your local environment and start exploring new features, functionalities, and services.
-
Evasive Errors
Very Evasive Proxy Error from Nginx and Apache when uploading files that take more than 1 second to upload. However, the problem was not with Proxy Servers, nor the backend application server. The problem came from the router. TL;DR Proxy Error from Nginx, and Apache on large uploads Large file upload breaks; Large file uploads…
-
Short script to create and attach an EBS Volume in AWS
Short script for creating and attaching an EBS Volume to an EC2 instance. This is useful in cases where you want to dynamically create your EBS volumes outside of the cloud formation auto provisioning process.
-
Get Volume ID of a Volume, if it exists
volume_name=”Name of your volume” volume_id=`aws ec2 describe-volumes –filters Name=tag-key,Values=diskuse,Name=tag-value,Values=${volume_name} |jq -r –arg zone “$zone” ‘[.Volumes[] | select( (.State==”available”) and (.AvailabilityZone==$zone))][0] | .VolumeId’`
-
Set Message Attribute on SQS Message
Example on setting message attribute on SQS Message. Subscribers can perform actions based on the attributes. queue.send_message(MessageBody=json.dumps(instance), MessageAttributes={ ‘instance_id’: { ‘DataType’: ‘String’, ‘StringValue’: instance[‘InstanceId’] } } )