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
Michael Sheehy
— August 19, 2019

What Exactly Is a Cloud Architect and How Do You Become One?

One of the buzzwords surrounding the cloud that I'm sure you've heard is "Cloud Architect." In this article, I will outline my understanding of what a cloud architect does and I'll analyze the skills and certifications necessary to become one. I will also list some of the types of jobs ...

Read more
  • AWS
  • Cloud Computing
Avatar
Andrew Larkin
— August 13, 2019

Content Roadmap: AZ-500, ITIL 4, MS-100, Google Cloud Associate Engineer, and More

Last month, Cloud Academy joined forces with QA, the UK’s largest B2B skills provider, and it put us in an excellent position to solve a massive skills gap problem. As a result of this collaboration, you will see our training library grow with additions from QA’s massive catalog of 500+...

Read more
  • AWS
  • Azure
  • content roadmap
  • Google Cloud Platform
Avatar
Adam Hawkins
— August 9, 2019

DevSecOps: How to Secure DevOps Environments

Security has been a friction point when discussing DevOps. This stems from the assumption that DevOps teams move too fast to handle security concerns. This makes sense if Information Security (InfoSec) is separate from the DevOps value stream, or if development velocity exceeds the band...

Read more
  • AWS
  • cloud security
  • DevOps
  • DevSecOps
  • Security
Avatar
Stefano Giacone
— August 8, 2019

Test Your Cloud Knowledge on AWS, Azure, or Google Cloud Platform

Cloud skills are in demand | In today's digital era, employers are constantly seeking skilled professionals with working knowledge of AWS, Azure, and Google Cloud Platform. According to the 2019 Trends in Cloud Transformation report by 451 Research: Business and IT transformations re...

Read more
  • AWS
  • Cloud skills
  • Google Cloud
  • Microsoft Azure
Avatar
Andrew Larkin
— August 7, 2019

Disadvantages of Cloud Computing

If you want to deliver digital services of any kind, you’ll need to estimate all types of resources, not the least of which are CPU, memory, storage, and network connectivity. Which resources you choose for your delivery —  cloud-based or local — is up to you. But you’ll definitely want...

Read more
  • AWS
  • Azure
  • Cloud Computing
  • Google Cloud Platform
Joe Nemer
Joe Nemer
— August 6, 2019

Google Cloud vs AWS: A Comparison (or can they be compared?)

The "Google Cloud vs AWS" argument used to be a common discussion among our members, but is this still really a thing? You may already know that there are three major players in the public cloud platforms arena: Amazon Web Services (AWS), Microsoft Azure, and Google Cloud Platform (GCP)...

Read more
  • AWS
  • Google Cloud Platform
  • Kubernetes
Avatar
Stuart Scott
— July 29, 2019

Deployment Orchestration with AWS Elastic Beanstalk

If you're responsible for the development and deployment of web applications within your AWS environment for your organization, then it's likely you've heard of AWS Elastic Beanstalk. If you are new to this service, or simply need to know a bit more about the service and the benefits th...

Read more
  • AWS
  • elastic beanstalk
Avatar
Stuart Scott
— July 26, 2019

How to Use & Install the AWS CLI

What is the AWS CLI? | The AWS Command Line Interface (CLI) is for managing your AWS services from a terminal session on your own client, allowing you to control and configure multiple AWS services and implement a level of automation. If you’ve been using AWS for some time and feel...

Read more
  • AWS
  • AWS CLI
  • Command line interface
Alisha Reyes
Alisha Reyes
— July 22, 2019

Cloud Academy’s Blog Digest: July 2019

July has been a very exciting month for us at Cloud Academy. On July 10, we officially joined forces with QA, the UK’s largest B2B skills provider (read the announcement). Over the coming weeks, you will see additions from QA’s massive catalog of 500+ certification courses and 1500+ ins...

Read more
  • AWS
  • Azure
  • Cloud Academy
  • Cybersecurity
  • DevOps
  • Kubernetes
Avatar
Stuart Scott
— July 18, 2019

AWS Fundamentals: Understanding Compute, Storage, Database, Networking & Security

If you are just starting out on your journey toward mastering AWS cloud computing, then your first stop should be to understand the AWS fundamentals. This will enable you to get a solid foundation to then expand your knowledge across the entire AWS service catalog.   It can be both d...

Read more
  • AWS
  • Compute
  • Database
  • fundamentals
  • networking
  • Security
  • Storage
Avatar
Adam Hawkins
— July 17, 2019

How to Become a DevOps Engineer

The DevOps Handbook introduces DevOps as a framework for improving the process for converting a business hypothesis into a technology-enabled service that delivers value to the customer. This process is called the value stream. Accelerate finds that applying DevOps principles of flow, f...

Read more
  • AWS
  • AWS Certifications
  • DevOps
  • DevOps Foundation Certification
  • Engineer
  • Kubernetes
Avatar
Vineet Badola
— July 15, 2019

AWS AMI Virtualization Types: HVM vs PV (Paravirtual VS Hardware VM)

Amazon Machine Images (AWS AMI) offers two types of virtualization: Paravirtual (PV) and Hardware Virtual Machine (HVM). Each solution offers its own advantages. When we’re using AWS, it’s easy for someone — almost without thinking —  to choose which AMI flavor seems best when spinning...

Read more
  • AWS
  • Hardware Virtual Machine
  • Paravirtual
  • Virtualization