Without any kind of monitoring or alerting enabled, you may run into your /boot drive becoming full, and resulting in errors such as:

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.

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" ' | select( (.State=="available") and (.AvailabilityZone==$zone))] | .VolumeId'`

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 } } )

Example of monitoring an SQS queue for messages that an attribute instance_id, which is set to your EC2 instance. The python subscriber can be used to monitor a shared SQS and act upon messages targeted at a specific instance id. #!/usr/bin/env python3 import boto3 import requests import subprocess import os import time boto3.setup_default_session(region_name="${aws.region}") sqs = boto3.resource('sqs') response = requests.get('http://169.254.169.254/latest/meta-data/instance-id') instance_id = response.text build_bucket = "${aws.s3.bucket}" # Retrieving a queue by

Install NPM https://www.npmjs.com/get-npm Start Alfresco Content Services, and Alfresco Process Services. Locally via SDK with default user/pass (admin:admin) #Fill in prompt to generate your project mvn archetype:generate -Dfilter=org.alfresco.maven.archetype: #After Project Generation, navigate into the project folder. chmod 755 run.sh ./run.sh Clone ADF project from github: git clone https://github.com/Alfresco/alfresco-ng2-components Navigate into the project’s demo-shell sub folder: cd alfresco-ng2-components/demo-shell If Alfresco Content Services and Alfresco Process Services is remote, then you must edit the

Issue: Default Administrators identified in Alfresco does not give the user Administrative privileges Troubleshooting: Check that there isn’t any space in your comma delimited list of names. Recommendations: If you are using LDAP sync to synchronize users, an LDAP admin group should be defined, and this group should be nested under the ALFRESCO_ADMINISTRATORS group.

This post allows the user to override the Alfresco Solr configurations in the Alfresco SDK 3.0 TL;DR Override Tomcat’s Solr context configuration to point to custom Solr4 config dir. Copy default Solr configurations into this directory. Override new configurations as needed. Override Solr Context Configurations First we will add a config element in our main pom.xml that carries the property of our Solr configurations. <solr.config.home>${basedir}/src/test/resources/solr4</solr.config.home> Next we will edit the

Why upgrade SDK 3.0? Support for RAD (Rapid Application Development) and TDD (Test Driven Development) via HotswapAgent and JRebel Simpler SDK layout Jar packaging by default Support for Alfresco version 4.2 to 5.2 Integration testing webscripts TL;DR Update your pom.xml Remove all SDK modules, except for your jar/amp project modules. Update your Integration tests. Add integration-tests project module, and copy src directory. Re-organize your Integration tests into the integration-tests project module, and rename to

IT departments today manage a massive amount of information, via a plethora of interconnected software components to provide businesses with the mission critical results that they need. To ensure the quality of these systems, IT departments are heavily invested in the testing, tuning and validation of these systems. The thought of validating these systems are already overwhelming, as a typical large-scale ECM system may consist of around 10 components, of

Using Alfresco One, it is very simple to extend the document structure that is deployed upon a Site creation. An automatic structure deployment can allow for a group of rules, folder structure and documents and other functionalities to be created within a site, when the site is instantiated. The nice thing about this functionality, is that it can be implemented from the GUI with the use of Rules, Scripts and Space Templates.

rsync -a —delete /empty/ /dir-to-delete/