Available online at ScienceDirect. Procedia Technology 17 (2014 )

Similar documents
Introduction to Cloud Computing

LINUX, WINDOWS(MCSE),

PrepAwayExam. High-efficient Exam Materials are the best high pass-rate Exam Dumps

Third Party Cloud Services Its Adoption in the New Age

AWS Administration. Suggested Pre-requisites Basic IT Knowledge

NGF0502 AWS Student Slides

AWS Solutions Architect Associate (SAA-C01) Sample Exam Questions

Training on Amazon AWS Cloud Computing. Course Content

Introduction to cloud computing

SAA-C01. AWS Solutions Architect Associate. Exam Summary Syllabus Questions

Enroll Now to Take online Course Contact: Demo video By Chandra sir

Securely Access Services Over AWS PrivateLink. January 2019

25 Best Practice Tips for architecting Amazon VPC

AWS Solution Architect (AWS SA)

Network Implications of Cloud Computing Presentation to Internet2 Meeting November 4, 2010

Amazon Web Services (AWS) Solutions Architect Intermediate Level Course Content

Module Day Topic. 1 Definition of Cloud Computing and its Basics

RACKSPACE ONMETAL I/O V2 OUTPERFORMS AMAZON EC2 BY UP TO 2X IN BENCHMARK TESTING

Data Sheet Gigamon Visibility Platform for AWS

AWS: Basic Architecture Session SUNEY SHARMA Solutions Architect: AWS

BERLIN. 2015, Amazon Web Services, Inc. or its affiliates. All rights reserved

Introduction to Cloud Computing

CHEM-E Process Automation and Information Systems: Applications

Cisco Cloud Architecture with Microsoft Cloud Platform Peter Lackey Technical Solutions Architect PSOSPG-1002

Principal Solutions Architect. Architecting in the Cloud

ActiveNET. #202, Manjeera Plaza, Opp: Aditya Park Inn, Ameerpetet HYD

VMware Cloud on AWS. A Closer Look. Frank Denneman Senior Staff Architect Cloud Platform BU

CIT 668: System Architecture. Amazon Web Services

Amazon Web Services Training. Training Topics:

Page 2 Skype Connect Requirements Guide

Lecture 7: Data Center Networks

Amazon Web Services. Block 402, 4 th Floor, Saptagiri Towers, Above Pantaloons, Begumpet Main Road, Hyderabad Telangana India

BUYER S GUIDE TO AWS AND AZURE RESERVED INSTANCES

Multi Packed Security Addressing Challenges in Cloud Computing

CLOUD AND AWS TECHNICAL ESSENTIALS PLUS

Introduction to ArcGIS Server Architecture and Services. Amr Wahba

Hosting DesktopNow in Amazon Web Services. Ivanti DesktopNow powered by AppSense

COMPTIA CLO-001 EXAM QUESTIONS & ANSWERS

Amazon AWS-Solutions-Architect-Professional Exam

Amazon Web Services (AWS) Training Course Content

AWS Well Architected Framework

EdgeConnect for Amazon Web Services (AWS)

Cisco Cloud Services Router 1000V and Amazon Web Services CASE STUDY

Advanced Architectures for Oracle Database on Amazon EC2

Eucalyptus Overview The most widely deployed on-premise cloud computing platform

Virtual Private Cloud. User Guide. Issue 21 Date HUAWEI TECHNOLOGIES CO., LTD.

WHITEPAPER AMAZON ELB: Your Master Key to a Secure, Cost-Efficient and Scalable Cloud.

About Intellipaat. About the Course. Why Take This Course?

DISTRIBUTED SYSTEMS [COMP9243] Lecture 8a: Cloud Computing WHAT IS CLOUD COMPUTING? 2. Slide 3. Slide 1. Why is it called Cloud?

AWS Solution Architect Associate

Technical Overview. Elastic Path Commerce

ForeScout CounterACT. (AWS) Plugin. Configuration Guide. Version 1.3

Best Practices in Securing a Multicloud World

Cloud Computing /AWS Course Content

NTT Com Press Conference March 1, 2016 #enterprisecloud

Developing, Deploying and Managing Applications on the Cloud

OptiSol FinTech Platforms

ArcGIS 10.3 Server on Amazon Web Services

Securing Microservices Containerized Security in AWS

Elastic Load Balancing

Cloud Computing introduction

ForeScout Amazon Web Services (AWS) Plugin

Leading Investment Management Software Firm Slashes Infrastructure Costs, Maximizes Application Availability ATTENTION. ALWAYS.

2-4 April 2019 Taets Art and Event Park, Amsterdam CLICK TO KNOW MORE

Cloud Computing Concepts, Models, and Terminology

Distributed Systems. 31. The Cloud: Infrastructure as a Service Paul Krzyzanowski. Rutgers University. Fall 2013

Converged Cloud and Digital Transformation: A Strategy for Business Success

Document Sub Title. Yotpo. Technical Overview 07/18/ Yotpo

Large Scale Computing Infrastructures

Sentinet for BizTalk Server SENTINET

Check Point vsec for Microsoft Azure

Introduction to Cloud Computing. [thoughtsoncloud.com] 1

Cloud Operations for Oracle Cloud Machine ORACLE WHITE PAPER MARCH 2017

How the Cloud is Enabling the Disruption of the Construction Industry. AWS Case Study Construction Industry. Abstract

Cloud Essentials for Architects using OpenStack

SATURN FamilySearch s Family Tree Web Application. Replacing Relational Database Technology and Transitioning to Cloud-Hosted Computing

Cloud & AWS Essentials Agenda. Introduction What is the cloud? DevOps approach Basic AWS overview. VPC EC2 and EBS S3 RDS.

Amazon Web Services Hands- On VPC

CPET 581 Cloud Computing: Technologies and Enterprise IT Strategies

Building a Modular and Scalable Virtual Network Architecture with Amazon VPC

CLOUD GATEWAY USER GUIDE

Example Azure Implementation for Government Agencies. Indirect tax-filing system. By Alok Jain Azure Customer Advisory Team (AzureCAT)

FAQs. Business (CIP 2.2) AWS Market Place Troubleshooting and FAQ Guide

HPE Digital Learner AWS Certified SysOps Administrator (Intermediate) Content Pack

An Architecture. What the MEC? for 5G

EBOOK: VMware Cloud on AWS: Optimized for the Next-Generation Hybrid Cloud

25 Best Practice Tips for architecting Amazon VPC. 25 Best Practice Tips for architecting Amazon VPC. Harish Ganesan- CTO- 8KMiles

Available online at ScienceDirect. Procedia Technology 17 (2014 )

PROTECT WORKLOADS IN THE HYBRID CLOUD

INFS 214: Introduction to Computing

BEST PRACTICES TO PROTECTING AWS CLOUD RESOURCES

DATA SHEET AlienVault USM Anywhere Powerful Threat Detection and Incident Response for All Your Critical Infrastructure

Cloud Computing. Amazon Web Services (AWS)

Getting Started with AWS Security

CLOUDLENS PUBLIC, PRIVATE, AND HYBRID CLOUD VISIBILITY

AWS Agility + Splunk Visibility = Cloud Success. Splunk App for AWS Demo. Laura Ripans, AWS Alliance Manager

Chapter 4. Fundamental Concepts and Models

AWS Solution Architecture Patterns

Expert Reference Series of White Papers. Introduction to Amazon Auto Scaling

PROFITBRICKS IAAS VIRTUAL DATA CENTER. An Introduction to ProfitBricks VDC

Transcription:

Available online at www.sciencedirect.com ScienceDirect Procedia Technology 17 (2014 ) 510 519 Conference on Electronics, Telecommunications and Computers CETC 2013 AMAZON SMARTSALES TICKETING SYSTEM João Silva and João Ferreira ADDETC ISEL - Lisbon, Portugal, Abstract This work is integrated in the SmartCITIES Cloud Ticketing project from Link Consulting SA, aiming at proposing a multi tenancy implementation of a ticketing system on the Amazon cloud platform. The SmartCITIES project introduced the thin device concept, which allows transferring the traditional ticketing operations to a cloud platform, increasing elasticity and providing interoperability. This approach raises several concerns, namely security issues and latency in communications. A gate in a public transportation device has to check ticket validity in less than 300ms. With this in mind, we propose a Cloud Ticketing Communication Testing Platform (SmartSales), developed to benchmark the normal ticketing operations (e.g., sale, recharge and validation), while providing insights on the latency, according to several levels of security, available network and Cloud topology. Several metrics associated with the round-trip time (RTT) of communications made by the prototype were collected to explore possible situations where the thin device concept can be used. The acquired results point towards the possible migration of most e-ticketing systems with the SmartCITIES Cloud Ticketing project architecture to the Cloud. 2014 The Authors. Published by Elsevier Ltd. This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/3.0/). Selection and peer-review under responsibility of ISEL Instituto Superior de Engenharia de Lisboa. Peer-review under responsibility of ISEL Instituto Superior de Engenharia de Lisboa, Lisbon, PORTUGAL. Keywords: Ticketing System; Cloud Computing; Amazon; Multi-tenancy 1. INTRODUCTION This paper describes the work developed within the scope of the SmartCITIES Cloud Ticketing project, which is focused on designing an interoperable, cost-efficient, multi-supplier, cloud based ticketing solution, where transit agencies may opt in and out when they need to. This project brings together two complementary sets of experiences: the engineering experience applied to ticketing solutions of Link Consulting [http://www.link.pt/smartcities] and the computer science and research experience of ISEL Instituto Superior de Engenharia de Lisboa [http://www.isel.pt], which lays out the path to a solid foundation of a cloud ticketing solution. This project was introduced a novel approach of moving the business logic of terminals ticketing devices to a cloud platform, creating the concept TaaS (Ticketing as a Service), [1, 2]. This approach may allow the creation of common transportation ticketing services, to which the terminals can connect with a simple Plug-and-Play model, so the cloud automatically recognizes and configures any ticketing equipment at installation time, thus eliminating manual configuration. The 2212-0173 2014 The Authors. Published by Elsevier Ltd. This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/3.0/). Peer-review under responsibility of ISEL Instituto Superior de Engenharia de Lisboa, Lisbon, PORTUGAL. doi:10.1016/j.protcy.2014.10.188

João Silva and João Ferreira / Procedia Technology 17 ( 2014 ) 510 519 511 goal is to achieve centralization of all business logic and move terminal specific logic to the cloud, therefore reducing the overall system complexity. This change of paradigm benefits from the fact that cloud ticketing services can be accessed through the Internet and be elastically grown or shrunk, providing easier scalability and high availability. Thus the entire application logic can be consolidated and centrally implemented on open and secure protocols, making the equipment simple frontends benefiting from being online with the central ticketing system to offer value-added features on lower capacity terminals. Having lightweight devices connecting to the business logic on the cloud also has the following advantages: (1) Consolidated logic with easier maintenance and lower IT costs; (2) Improved physical security (avoid secure elements distribution and logistics); (3) Enable functionality by subscription for devices; (4) Support offline and online operation models over the same infrastructure; and (5) Reduced complexity for supporting new terminals, by using open interoperable protocols, [3]. This paper was written within the scope of the SmartCITIES Cloud Ticketing project, which is focused on designing an interoperable, cost-efficient, multi-supplier, cloud based ticketing solution, where transit agencies may opt in and out when they need to. This project brings together two complementary sets of experiences: the engineering experience applied to ticketing solutions of Link Consulting [http://www.link.pt/smartcities] and the computer science and research experience of ISEL Instituto Superior de Engenharia de Lisboa [http://www.isel.pt], which lays out the path to a solid foundation of a cloud ticketing solution. 2. Modeling Ticketing Operations This section is dedicated to the modulation of ticketing operations, necessary to create a Web Service providing the required web methods to emulate a feasible test environment. Ticketing operations are performed at terminal devices, like selling, recharging ticket, ticket validation to go in/out. We divide these into several classes according to: operations performed; mobility; temporal requirements or environment in which they operate, see Table 1: Table 1: Main Terminal Characteristics. Recharging Operation: This operation starts with the user ticket presentation at a terminal device. The card is detected and the information contained in the title is sent to the catalog service in the cloud, which depending on the type of information received (type of contract), presents the corresponding catalog. It is worth mentioning that database access is done through Business Process Service (Worker class), which also contains the business logic (can apply constrains to data, for example discounts). Once the product selection is invoked, the method TransactionConfirm checks whether the selling agent is allowed (may find itself blacklisted) to sell the chosen product. If so, and after payment the method TransactionDo updates the contract in the database, the card is considered recharged and the operation ends. The sequence diagram of this operation is shown in Fig. 2. Validation Operation: The user approaches the terminal, the ticket is detected and the TransactionValidation method is called to validate the title. If successful, the port validator allows the passage of the user. To accelerate the operation process, since it has a critical execution time, the TransactionValidation method does not make the change (removal of the respective trip) in the database immediately when the contract is a rechargeable (does not apply to

512 João Silva and João Ferreira / Procedia Technology 17 ( 2014 ) 510 519 monthly contracts). The terminal caches the data of the various validated titles and in certain time periods with little or no movement, the updates are triggered to the database in the Cloud. The sequence diagram of this operation is shown in Fig. 2. 2.1. Web Service Fig. 1: Sequence diagram of recharge operation (A) and validation operation (B). To perform adequate tests, it was deemed necessary to differentiate between the possible types of Web-based operations. For example, the Validation operation is carried out with one single interaction of the user with the system. Accordingly, the performance of the whole operation can be assessed by analyzing one single method. On the other hand, the Recharge operation requires several interactions, translating into invoking several methods for its completion. In this case, the performance of the operation requires analyzing each invoked method individually. With this in mind, we test each method individually and not the total time of the operation. The methods contained in the SmartSales Web Service tested were: (1) SessionOpen; (2) SessionClose; (3) GetCatalog; (4) TransactionConfirm; (5) TransactionDo; and (6) TransactionValidation. SmartSales was developed based on the client-server protocol Omaha V3, based on previous experience of the company Link Consulting (www.link.pt), with the support of a data structure developed in the context of an issuer of tickets. These methods are required for providing the services of the two different types of ticketing operations, namely authentication and validation in the context of a "thin" app (since it is based on their characteristics, much more demanding in terms of performance than a "fat app"). Details of this work are private of Link Company. SmartSales main operations modes characteristics can be summarized as: A Terminal device sends requests to the server via an XML message contained in a SOAP envelope submitted through an HTTPS POST. The response is sent through the body of the XML message;

João Silva and João Ferreira / Procedia Technology 17 ( 2014 ) 510 519 513 Each application can send multiple HTTPS actions required by the client application "thin" app. The server responds with the state and other relevant information for each action. The answer is organized in a structure similar to the XML request. This Service was developed on Windows Communication Foundation (WCF), using the C # language in order to be published on Internet Information Services 7 (IIS7) in AWS s Web Servers. The proposed architecture uses local equipment (fat and thin device) and a remote services (identified as Smartsales) in a cloud platform divided by the following layers of services, see Figure 2. Data Access Services internal services to access business data (customers, cards, sales, validations, etc); Business Services cloud exposed services to implement business operations like registering a new customer, authorizing a ticket sale for a specific customer, or consulting a catalog of tickets available to the specific card; Business Process Services services that coordinate among multiple business services to implement specific use cases, e.g., ticket sale use case, which generally involves: (1) reading the card; (2) browse the ticket catalog for available products; (3) choose the ticket to buy; (4) pay; (5) load the card; and (6) confirm and register the sale. The output of this service the information to present to the user on the screen, as well as available operations. The inputs of the service are the actions performed by the user. One per machine Type SmartCITIES Cloud Ticketing Services Ticketing Front-End Fat Apps Ticketing Front-End Thin Apps Presentation Presentation External Interface Presentation Same of each device Type (e.g. Card Reader, Vendor Machine, Gate,..) B. Proc. Srv. Data Cache B. Process B. Process Cache 1 Cache 2 Presentation Presentation Presentation Cloud Interface Wrapper n Communication Device Type Queue Ticketing Back-Office CRM Product Catalog Mgt... Business Operations Business Process Services Ticket Sale B.P. Customer Registration B.P User actions... Customer Card Ticket Sale Business Services Validation and Inspection Device Provisioning Ticket Catalog Data Access Services Customer Data Service Card Data Service Product Data Service Sales Data Service Device Data Service... Figure 2. Cloud Ticketing Architecture

514 João Silva and João Ferreira / Procedia Technology 17 ( 2014 ) 510 519 Taking into account a small transportation company, which wants to implement a electronic ticketing system for their transportation system. Our approach for system development involves four main actors, illustrated on Figure 3: The Cloud Provider gives three levels of cloud services: SaaS, PaaS e IaaS. In our concept demonstrator, we use Amazon Web Services (AWS) platform. The Technological Partner (TP) responsible for ticketing system development, use AWS and a set of services to create a personalized ticketing system taking care of business process of Transportation Company. A complete description is available on [2], were two terminals are integrated in the cloud using resources of cloud provider (e.g. processors, queue messages). The operator buys front-end system equipment (gate and validator equipment) that is register on the cloud system taking into account TP procedure. Also we implemented a novel approach of a terminal on a Android device [4]. The information systems department of transportation operator creates and administrate the business process related with transportation company. 3. Amazon Figure 3. Levels of services of the proposed architecture From the several cloud service providers, Amazon Web Services (AWS) was chosen due to the close interrelation of other works related to SmartCITIES project (identified in Figure 2) with AWS. Amazon, as a pioneer of cloud computing, provides a set of services for ready to use computing infrastructures. Their computing platform was built and refined over the years, and is now available to anyone who has access to the Internet. A key point is that the infrastructure is elastic and can scale up and down based on demand. In the scope of this work, we will outline the key services used to deliver the SmartSales plataform: Ec2: One of the most well-known cloud service from Amazon is the EC2 (Elastic Computing Cloud) service. EC2 allows for the creation of virtual machine instances called AMI (Amazon Machine Images) that run on Amazon's own infrastructure. VPC: VPC stands for Virtual Private Cloud and provides an extension to Ec2 services, by allowing the creation of private subnets, and thus providing a safer environment on a virtual private space inside Ec2. It provides not only private subnets, but the ability to route between them, managing NAT processes or controlling the full power of security groups (Access Control Lists). CloudWatch: This is AWS s monitoring service. It offers visibility over the usage of the several Ec2 resources, operational performance or patterns of utilization, including metrics such as CPU utilization, IOPS, inbound/outbound network traffic or request per second on the load balancer. It also allows the

João Silva and João Ferreira / Procedia Technology 17 ( 2014 ) 510 519 515 implementation of alarms and thresholds based on the metrics described. This feature forms a crucial synergy with the next service Auto-Scaling. Auto-Scaling: AWS Auto Scaling allows the scaling of EC2 computer resources up or down automatically as per the defined conditions. These conditions include the information related to scaling (how many instances to launch, time between each step), the metric that triggers the scaling or the policy (up or down). This service is of particularity interest to applications that suffer utilization peaks during certain defined hours such as public transport services. 4. Ticketing Platform In order to publish the ticketing service, a suitable infrastructure was built to accommodate said service. The approach adopted was to implement different scenarios with a structure as close as possible to a live production environment. Each scenario was based on a different Cloud model (Public, Private and Hybrid) and differed in the security associated as well as the level of management over the security, routing tables and the infrastructure itself. The result was a variety of models and network topologies, building a solid path to a wide scope of results. Performing an analogy with the ITSO specification, we implemented a model to perform tests to evaluate the communication between a terminal (POST) and a central back office (containing several HOPS). IG ELB Public Subnet EIP 54.229.33.4 Public Subnet EIP 53.127.67.98 Firewall/NatBox/SLB 10.0.1.0/24 Private Subnet DMZ Firewall/NatBox/SLB 10.0.11.0/24 Private Subnet DMZ Mng Server 10.0.2.0/24 Private Subnet Web Layer Mng Server 10.0.12.0/24 Private Subnet Web Layer Web Server Web Server 10.0.3.0/24 Private Subnet Data Layer Web Server Web Server 10.0.13.0/24 Private Subnet Data Layer DB Server 10.0.4.0/24 Availability Zone A Dublin Region DB Server 10.0.14.0/24 Availability Zone B VPC 10.0.0.0/16 Figure 4: Ticketing platform at Amazon

516 João Silva and João Ferreira / Procedia Technology 17 ( 2014 ) 510 519 All scenarios were implemented in the European region of the AWS (Dublin, Ireland) in two separate Availability Zones, using AMI's Windows Server 2008 R2 for the instances of the database servers and Web and AMI's Ubuntu Linux Server 12.04 LTS to implement the organizational firewall, NatBox and load balancing procedures. Amazon AWS provides numerous instances types, finding the performance associated with each, related with the cost per hour of use, since it is a system of "pay-per-use". In order to take advantage of the elasticity provided by Amazon AWS, we used the default instances (m1.small) * during the construction of the network architectures, increasing the capacity according to the performance and type of services provided. This culminated with the implementation of Auto-Scaling during the testing phase. In the scenario shown below, we took advantage of all the features a VPC environment has to offer, eliminating any management and configuration dependency of the infrastructure by the Cloud service provider, in terms of safety. It was implemented a private cloud infrastructure, with all the machines behind an organizational firewall, as shown in Figure 4. In this model, the firewall/natbox it s the only machine exposed to internet, implementing linux s powerfull and configurable stateful firewall system (IpTables). It also represents the network gateway with the configuration of network s routing. It was as well in Iptables with NAT tweaking, that a second layer of load balancing was implemented. This architecture, presents a high level of security with the advantage of being us in charge of its administration and management. More details can be found in [6]. 5. Multi-Tenancy In order to support multi-tenancy cloud services [1], it is important to consider that multiple operators may be organized in a common metropolitan area, sharing common customers, smartcards and multi-modal tickets [7]. In these cases, it is important to have consolidated business information (customer, cards, sales, validations, etc) to enable revenue distribution. With this scenario in mind, we propose a hierarchy of tenants with multiple roots. Each root is a transport area with multiple operators where some parts of the business information (customers, cards, etc) are common to several operators. The hierarchy of tenants has the following rules: (1) Lower level tenants (operators) can view information about their private customers, as well as business information common to the metropolitan area; (2) Upper level tenants can read and consolidate common business information to the lower level tenants (e.g., customers, cards, sales and validations); and (3) Upper level tenant may not see information about private customers, and sales/validations of private tickets. Here we discuss the option of having a shared database or separate database/schema implementation of multitenancy. The main concerns on this decision were privacy, security and extensibility. It is necessary to avoid risks of having one operator see information about other operators (they may be competitors). On the other hand it is very common for an operator to require customizations specific to its business. Therefore we have chosen to have a separate database approach. With the requirement of having a hierarchy of tenants, using a separate database approach, has an additional challenge how to consolidate common business information (e.g., sales of multi-modal tickets) on the upper levels, which is generated at the lower levels? The answer is to have the lower levels ship the common business. Figure 5 shows the two implementations performed, left (A) several operators using same ticketing infrastructure at Amazon and right (B) with two ticketing system at Amazon. * Micro instances are a very low-cost instance option, providing a small amount of CPU resources, for more information see http://aws.amazon.com/ec2/instance-types.

João Silva and João Ferreira / Procedia Technology 17 ( 2014 ) 510 519 517 Figure 5: (A) Cloud Community model for different operators using the same ticketing system at Amazon. (B) Cloud Community model for different operators with two ticketing systems at Amazon. 6. Results The results were obtained benchmarking the testing platform, which comprised SmartSales Web Service, the infrastructures created in AWS and a personal pc emulating a terminal. This emulation was done thought the software SoapUi, which aside from making requests with the information contained in SmartSales WSDL file, also retrieved the RTT associated with them. Due to the large amount of data, only results belonging to validation operation in the scenario of Figure 5 are shown since it is the most time critical operation. The tests were performed adjusting the number of requests made in concurrency per second, to the service. The tests were also in function of the network type and the type of instance. Each value in Table 2, represents the average of 10 tests made, with cheapest option of processor m1.small (one processor at $0.06 hour) and with m1.large (two processors at $0.24 hour). Instance m1.small m1.large Network 802.3 WiFi 3,5G 4G 802,3 WiFi 3,5G 4G 1 rps 68,4 70,2 400,3 129,6 70,4 67,8 385,3 131,4 100 rps 93,1 95,9 440,6 211,1 94,5 94,2 428,4 196,7 200 rps 91,6 93,1 438,5 206,2 95,2 96,4 436,9 208,6 300 rps 96,8 95,7 442 202,8 95,1 91,3 429,8 189,8 800 rps 95,2 99,1 435,7 213,3 94,7 92,2 427,5 202,1 Table 2: Results in millisecond s, from the tests made to validation operation using two cloud scenarios m1.small and m1.large. Before any conclusion can be made, it should be stated that operators can fall into distinct transport categories, each having different operating characteristics that determine terminals location and the available network, which For more information see http://aws.amazon.com/pt/ec2/instance-types rps requests per seconds.

518 João Silva and João Ferreira / Procedia Technology 17 ( 2014 ) 510 519 can impact the implementation of the thin device concept, [3]. From Table 3, we can conclude that two groups can be made in order to model the different kind of transport operators: Bus transport operators and all the others. Analyzing the results in Table 2, there was not a considerable improvement by increasing the hardware of the instances, due to the Auto-Scaling performed. The slight improvement in results was due to the fact that for the same number of concurrent requests made to the service: (1) if the instance type is m1.large, X instances are launched; and (2) if the instances type is m1.small, X * 2 are launched. That is, the computing capacity ends up being equal, it only exists a greater variation in instances launched of type m1.small. Thus, if there were a large influx of requests, requiring two degrees of elasticity of type m1.small, it would mean that for m1.large instances it would only be necessary one degree. The adoption of the instance type may depend on the cost of each solution and the value it intended to invest. If the cost per hour of the instances with more capacity was at max the double, then it was a no brainer to choose always this type. The reality is that the cost function quadrupled in size, not worth the investment. Further adding to the fact that the smaller capacity instances achieve better granularity in processing, this means that since they add smaller steps in processing power, they can provide exactly the right amount, in comparison to the real needs. So we will consider the results concerning type m1.small instances. The network type in question defines the type of operator (Bus/other), as mentioned previously. If for Bus operators, it s the results associated with 3G and 4G networks that provided relevant information, for the others, important data is provided by Ethernet and WiFi networks. Transport Type Validation Terminals Positioning Available Network Metropolitan Interior Ethernet/Wifi Bus Exterior 3G/4G Railway Interior Ethernet/Wifi Aviation Interior Ethernet/Wifi Boat Interior Ethernet/Wifi Table 3: Transport operators characteristics 7. Conclusions In this work the premise for the analysis performed, were the requirements established by Link, regarding the validation operation in the fixed position terminal class type. The performance of said operation needs to be less than 300 ms. Analyzing the results, it can be concluded that for operators whose focus are metropolitan, boat, aviation or railroad transports, the paradigm shift presented can be implemented without hurting the effectiveness of the service. As for the bus transport operators, this change will need to be considered depending on the type of network that the operator has or will implement. If the network present is 3G, then service performance will be affected, not fulfilling the requirements presented. If by contrast, the operator has or is thinking about purchasing an infrastructure that supports 4G, then, it can benefit from the new architecture proposed in the project SmartCITIES Cloud Ticketing. This platform also allows the configuration of different network conditions and presents a testing platform to explore the conditions required by the concept TaaS. The full results of the several terminal classes, the remaining ticketing operations and the other cloud scenarios developed are available at [6]. References [1] João C. Ferreira, Porfírio Filipe, Carina Gomes, Gonçalo Cunha, João Silva. Taas Ticketing as a Service, in proceedings of CLOSER 2013-3rd International Conference on Cloud Computing, 8-10 May, Aachen-Germany. [2] Carina Gomes (2012). Estudo do Paradigma Computação em Nuvem. Master project at ISEL, (in Portuguese). [3] João C. Ferreira, Porfírio Filipe, Gonçalo Cunha, João Silva. Cloud Terminals for Ticketing System in proceedings of the Fifth International Conferences on Advanced Service Computing, SERVICE COMPUTATION 2013, May 27 - June 1, 2013 - Valencia, Spain.

João Silva and João Ferreira / Procedia Technology 17 ( 2014 ) 510 519 519 [4] Agostinho Baia, João C. Ferreira, Porfírio Filipe, Gonçalo Cunha. Android as a Cloud Ticket Validator in proceedings of CUBE 2013, 15-16 November 2013, Pune, India. [5] ITSO Technical Specification 1000, Interoperable public transport ticketing using contactless smart customer media. Version V2.1.4, http://www.itso.org.uk//home/itso-specification, 2010, [retrieved: April, 2013]. [6] Joao Silva (2013). Benchmarking de uma aproximação de Ticketing as a Service (Taas). Master project at ISEL, (in Portuguese). [7] GlobalPlatform s Value Proposition for the Public Transportation Industry, Seamless, secure travel throughout multiple transportation networks, http://www.globalplatform.org/documents/whitepapers/gp_value_proposition_for_public_transportation_whitepaper.pdf, [retrieved: April, 2013].