Using Alfresco on Amazon Web Services

Why installing Alfresco on Amazon Web Services?

Alfresco is an open source enterprise content management system that allows global organizations to collaborate more effectively across cloud, mobile, hybrid, and on-premise environments. Alfresco on Amazon Web Services allows you to perform document, web, records, and image management and to create collaborative content development environments in the cloud without any local infrastructure at all.

Alfresco comes in three flavors:

  1. Alfresco Community Edition – the free, open source edition.
  2. Alfresco Enterprise Edition – commercial and proprietary licensed open source and enterprise scale version. Supports clustering which allows scaling and high availability.
  3. Alfresco Cloud Edition – SaaS version of Alfresco.

It also supports integration with other tools:

  • Desktop Integration: Microsoft Office, OpenOffice.org, LibreOffice
  • Online Integration: Google Docs
  • Authentication Support: NTLM, LDAP, Kerberos, CAS
  • Database Support: MySQL, PostgreSQL, Oracle, Microsoft SQL Server, IBM DB2
  • Repository Access: CIFS/SMB, FTP, WebDAV, NFS

Apart from the above integrations, Alfresco can also play nicely with lots of third-party service providers like SAP, Salesforce, AUTOCAD, LifeRay, and MuleSoft.

In this post, we will walk you through installing Alfresco on Amazon Web Services.

Environment Details

  • Operating System: Amazon Linux
  • Ports for Alfresco: 8080, 8005, 8443, 8009, 20, 21, 50500, 7070, 8100
  • Alfresco Version: Alfresco Community 5.0.c

Prerequisites

Instance Type:
To successfully run Alfresco on Amazon Web Services, we need an instance with at least 2.0GB of RAM. Less is simply not enough to run Alfresco for either test or production purposes. However, you should preferably have at least 4.0GB of RAM. Therefore, the minimum recommended instance type on AWS is m3.medium.

Preparation Steps

As a part of preparation steps, we need to download Alfresco Community Edition on our Amazon Linux instance.

Alfresco Download Link: http://www.alfresco.com/alfresco-community-download

Use:

# wget http://dl.alfresco.com/release/community/5.0.c-build-00145/alfresco-community-5.0.c-installer-linux-x64.bin

Once the package is downloaded, modify the package’s permission so it’s executable:

# sudo chmod +x alfresco-community-5.0.c-installer-linux-x64.bin

Installation Steps

To run the Alfresco Community executable:

# sudo ./alfresco-community-5.0.c-installer-linux-x64.bin

Once the installation procedure starts, it will prompt us with a few questions:
1. Language Selection

Please select the installation language
[1] English - English
[2] French - Français
[3] Spanish - Español
[4] Italian - Italiano
[5] German - Deutsch
[6] Japanese - æ¥æ¬èª
[7] Dutch - Nederlands
[8] Russian - Ð ÑÑÑкий
[9] Simplified Chinese - ç®ä½ä¸­æ
[10] Norwegian - Norsk bokmål
[11] Brazilian Portuguese - Português Brasileiro
Please choose an option [1] : 1

2. Installation type

----------------------------------------------------------------------------
Welcome to the Alfresco Community Setup Wizard.
----------------------------------------------------------------------------
Installation Type
[1] Easy - Installs servers with the default configuration
[2] Advanced - Configures server ports and service properties.: Also choose optional components to install.
Please choose an option [1] : 2

3. Components to install

----------------------------------------------------------------------------
Select the components you want to install; clear the components you do not want to install. Click Next when you are ready to continue.
Java [Y/n] :Y
PostgreSQL [Y/n] :Y
Alfresco : Y (Cannot be edited)
Solr1 [y/N] : y
Solr4 [Y/n] :Y
SharePoint [Y/n] :Y
Web Quick Start [y/N] : y
Google Docs Integration [Y/n] :Y
LibreOffice [Y/n] :Y
Is the selection above correct? [Y/n]: Y
----------------------------------------------------------------------------

4. Installation folder

----------------------------------------------------------------------------
Installation Folder
Please choose a folder to install Alfresco Community
Select a folder [/opt/alfresco-5.0.c]: /opt/alfresco
----------------------------------------------------------------------------

5. Database server parameters

----------------------------------------------------------------------------
Please enter the port of your database.
Database Server port [5432]:

6. Ports configuration

Tomcat Port Configuration
----------------------------------------------------------------------------
Please enter the Tomcat configuration parameters you wish to use.
Web Server domain: [127.0.0.1]:
Tomcat Server Port: [8080]:
Tomcat Shutdown Port: [8005]:
Tomcat SSL Port [8443]:
Tomcat AJP Port: [8009]:
Alfresco FTP Port
----------------------------------------------------------------------------
Please choose a port number to use for the integrated Alfresco FTP server.
Port: [21]:
----------------------------------------------------------------------------
Alfresco RMI Port
Please choose a port number for Alfresco to use to execute remote commands.
Port: [50500]:
----------------------------------------------------------------------------

7. Provide administrator password for Alfresco

Admin Password
Please give a password to use for the Alfresco administrator account.
Admin Password: :
Repeat Password: :
----------------------------------------------------------------------------

8. Provide SharePoint port for Alfresco

Alfresco SharePoint Port
Please choose a port number for the SharePoint protocol.
Port: [7070]:
----------------------------------------------------------------------------

9. Setting up the Alfresco Community as a service

Install as a service
You can optionally register Alfresco Community as a service. This way it will
automatically be started every time the machine is started.
Install Alfresco Community as a service? [Y/n]: Y
----------------------------------------------------------------------------

10. Setting up LibreOffice port

LibreOffice Server Port
Please enter the port that the Libreoffice Server will listen to by default.
LibreOffice Server Port [8100]:
----------------------------------------------------------------------------

11. Start Alfresco Community Installation. Alfresco is now ready for installation:

Setup is now ready to begin installing Alfresco Community on your computer.
Do you want to continue? [Y/n]: Y
----------------------------------------------------------------------------
Please wait while Setup installs Alfresco Community on your computer.
Installing
0% ______________ 50% ______________ 100%
##########################
----------------------------------------------------------------------------

12. Launch Alfresco Community Share
Once the Alfresco Community edition installation is completed, we will be advised to view a Readme file and launch Alfresco Community Share.

Setup has finished installing Alfresco Community on your computer.
View Readme File [Y/n]:n
Launch Alfresco Community Share [Y/n]: Y
waiting for server to start.... done
server started
/opt/alfresco/postgresql/scripts/ctl.sh : postgresql started at port 5432
Using CATALINA_BASE:   /opt/alfresco/tomcat
Using CATALINA_HOME:   /opt/alfresco/tomcat
Using CATALINA_TMPDIR: /opt/alfresco/tomcat/temp
Using JRE_HOME:       /opt/alfresco/java
Using CLASSPATH:       /opt/alfresco/tomcat/bin/bootstrap.jar:/opt/alfresco/tomcat/bin/tomcat-juli.jar
Using CATALINA_PID:   /opt/alfresco/tomcat/temp/catalina.pid
Tomcat started.
/opt/alfresco/tomcat/scripts/ctl.sh : tomcat started

Alfresco service initialization has started and Alfresco share will be accessible after a few minutes. It is always a good idea to view your Tomcat logs to ensure Alfresco has initialized properly. Those logs will be available at /opt/alfresco/tomcat/logs/catalina.out.

To view Alfresco share, please navigate to http://<your-public-ip-address>:8080/share.
Alfresco Community login

To quickly verify the functionality of our Alfresco share, we will log in, create a site, upload a document, and view it. Here, a site is a project area in Alfresco where we can easily share content and collaborate with other team members. In an organization, we can have multiple sites for each team. For example, a development site (for a dev team) where they can share and collaborate on all dev-related content.

To log in, provide your username and password. The default administrator username is “admin” and password is the one we provided in Step “G” above. Once logged in, we see the default dashboard:
Alfresco Share Dashboard
To create a site, click on the Sites tab on the topmost bar, and then Create Site:
Alfresco Share Create Site
We’ll also need to provide details like a site name, URL name, site description, type and visibility of site:
Alfresco Create Site
Once the site is created, the site dashboard will look like this:
Alfresco Cloud Academy Site Dashboard
Navigate to Document Library and drag and drop a document into this site:
Alfresco Upload File to Documents
Once the document is uploaded, we can view this document directly in the Alfresco document viewer:
Alfresco Document Viewer

We can also share this document with other site members. They can “like” it, comment on it, edit it offline, and download to their local systems, etc…

Alfresco on Amazon Web Services is a very powerful combination and it is used by thousands of customers all over the world running on the world’s biggest cloud computing platform. In the next post, we will discuss other considerations for running Alfresco on Amazon Web Services.

Avatar

Written by

Sanket Dangi

Head of Managed Services at REAN Cloud. Before joining REAN Cloud, I was CEO and Founder of StraightArc Solutions which was later acquired by REAN Cloud. I started my career working on cloud computing. Loves to talk about DevOps, System Administration, Scalability, High Availability, Disaster Recovery and Cloud Security. Apart from work, I love to meet people, travel and watch sports.


Related Posts

Avatar
Stuart Scott
— October 16, 2019

AWS Security: Bastion Host, NAT instances and VPC Peering

Effective security requires close control over your data and resources. Bastion hosts, NAT instances, and VPC peering can help you secure your AWS infrastructure. Welcome to part four of my AWS Security overview. In part three, we looked at network security at the subnet level. This ti...

Read more
  • AWS
Avatar
Sudhi Seshachala
— October 9, 2019

Top 13 Amazon Virtual Private Cloud (VPC) Best Practices

Amazon Virtual Private Cloud (VPC) brings a host of advantages to the table, including static private IP addresses, Elastic Network Interfaces, secure bastion host setup, DHCP options, Advanced Network Access Control, predictable internal IP ranges, VPN connectivity, movement of interna...

Read more
  • AWS
  • best practices
  • VPC
Avatar
Stuart Scott
— October 2, 2019

Big Changes to the AWS Certification Exams

With AWS re:Invent 2019 just around the corner, we can expect some early announcements to trickle through with upcoming features and services. However, AWS has just announced some big changes to their certification exams. So what’s changing and what’s new? There is a brand NEW ...

Read more
  • AWS
  • Certifications
Alisha Reyes
Alisha Reyes
— October 1, 2019

New on Cloud Academy: ITIL® 4, Microsoft 365 Tenant, Jenkins, TOGAF® 9.1, and more

At Cloud Academy, we're always striving to make improvements to our training platform. Based on your feedback, we released some new features to help make it easier for you to continue studying. These new features allow you to: Remove content from “Continue Studying” section Disc...

Read more
  • AWS
  • Azure
  • Google Cloud Platform
  • ITIL® 4
  • Jenkins
  • Microsoft 365 Tenant
  • New content
  • Product Feature
  • Python programming
  • TOGAF® 9.1
Avatar
Stuart Scott
— September 27, 2019

AWS Security Groups: Instance Level Security

Instance security requires that you fully understand AWS security groups, along with patching responsibility, key pairs, and various tenancy options. As a precursor to this post, you should have a thorough understanding of the AWS Shared Responsibility Model before moving onto discussi...

Read more
  • AWS
  • instance security
  • Security
  • security groups
Avatar
Jeremy Cook
— September 17, 2019

Cloud Migration Risks & Benefits

If you’re like most businesses, you already have at least one workload running in the cloud. However, that doesn’t mean that cloud migration is right for everyone. While cloud environments are generally scalable, reliable, and highly available, those won’t be the only considerations dri...

Read more
  • AWS
  • Azure
  • Cloud Migration
Joe Nemer
Joe Nemer
— September 12, 2019

Real-Time Application Monitoring with Amazon Kinesis

Amazon Kinesis is a real-time data streaming service that makes it easy to collect, process, and analyze data so you can get quick insights and react as fast as possible to new information.  With Amazon Kinesis you can ingest real-time data such as application logs, website clickstre...

Read more
  • amazon kinesis
  • AWS
  • Stream Analytics
  • Streaming data
Joe Nemer
Joe Nemer
— September 6, 2019

Google Cloud Functions vs. AWS Lambda: The Fight for Serverless Cloud Domination

Serverless computing: What is it and why is it important? A quick background The general concept of serverless computing was introduced to the market by Amazon Web Services (AWS) around 2014 with the release of AWS Lambda. As we know, cloud computing has made it possible for users to ...

Read more
  • AWS
  • Azure
  • Google Cloud Platform
Joe Nemer
Joe Nemer
— September 3, 2019

Google Vision vs. Amazon Rekognition: A Vendor-Neutral Comparison

Google Cloud Vision and Amazon Rekognition offer a broad spectrum of solutions, some of which are comparable in terms of functional details, quality, performance, and costs. This post is a fact-based comparative analysis on Google Vision vs. Amazon Rekognition and will focus on the tech...

Read more
  • Amazon Rekognition
  • AWS
  • Google Cloud Platform
  • Google Vision
Alisha Reyes
Alisha Reyes
— August 30, 2019

New on Cloud Academy: CISSP, AWS, Azure, & DevOps Labs, Python for Beginners, and more…

As Hurricane Dorian intensifies, it looks like Floridians across the entire state might have to hunker down for another big one. If you've gone through a hurricane, you know that preparing for one is no joke. You'll need a survival kit with plenty of water, flashlights, batteries, and n...

Read more
  • AWS
  • Azure
  • Google Cloud Platform
  • New content
  • Product Feature
  • Python programming
Joe Nemer
Joe Nemer
— August 27, 2019

Amazon Route 53: Why You Should Consider DNS Migration

What Amazon Route 53 brings to the DNS table Amazon Route 53 is a highly available and scalable Domain Name System (DNS) service offered by AWS. It is named by the TCP or UDP port 53, which is where DNS server requests are addressed. Like any DNS service, Route 53 handles domain regist...

Read more
  • Amazon
  • AWS
  • Cloud Migration
  • DNS
  • Route 53
Alisha Reyes
Alisha Reyes
— August 22, 2019

How to Unlock Complimentary Access to Cloud Academy

Are you looking to get trained or certified on AWS, Azure, Google Cloud Platform, DevOps, Cloud Security, Python, Java, or another technical skill? Then you'll want to mark your calendars for August 23, 2019. Starting Friday at 12:00 a.m. PDT (3:00 a.m. EDT), Cloud Academy is offering c...

Read more
  • AWS
  • Azure
  • cloud academy content
  • complimentary access
  • GCP
  • on the house