Preview

Juju V2

Satisfactory Essays
Open Document
Open Document
147 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Juju V2
摘要
1 Juju介紹:
1.1 Juju是一個open source的雲端環境上管理軟體的工具。
1.2 Juju透過一種叫做「charms」的指令集來快速部署、整合和擴充軟體到雲端運算環境上。
1.3 Juju與Ubuntu都是由 Canonical Ltd.這家公司所開發。
2 Juju Charms之介紹:
2.1 Juju Charms是一連串YAML檔案的集合,只要使用者下載了所需要的Juju Charm,許多如軟體安裝手續、部屬程序、啟動/暫停服務、或是設定Charm與Charm之間的對應關係、Charm的升級、擴充等等複雜的程序,都可以用簡單的指令所取代。
2.2 因為使用Charm這樣建置的標準程序,所以開發人員使用 charms 建置的環境就可以直接給維運人員,透過 charms,維運人員就可以很容易地將開發環境部署到正式的營運環境中。
2.3 Juju Charms可以由任何ubuntu作業系統支援之程式語言撰寫,如bash, python, perl, php等等,且任何人皆可上傳自己設計的Charm到Charm store。
3 Charm Store
3.1 Charm開發者可以將自己開發的Charm或是Charm Bundles上傳至Charm Store供其他人下載或是修改。
4 Juju Client and Environments:
4.1 Juju主要有兩個元件:client跟bootstrap node。
4.2 目前可執行Client的環境包含Ubuntu, Mac and Windows。當安裝了Juju Client後,該client可於單點控制一個或多個雲環境,如Amazon Web Services, HP Cloud Services, Microsoft Windows Azure, 以及OpenStack等。
心得建議
1. Juju 的特性是可以在一個單點作業環境經由簡單的指令進行VM的新增/刪除,以及其上軟體的部署,適合時常需進行重複部署工作之維運人員,若可導入hicloud內部使用,應可節省許多人力與時間。
2. 目前Juju尚無支援hicloud,建議請TL研擬如何讓Juju能與hicloud界接,可提高hicloud之曝光程度。
3. 許多客戶可能於hicloud CaaS/VPC申請了VM後,有部建服務的困難,如架設網站、連結資料庫等。若能夠將這些動作寫成相對應的Charm,供客戶下載,則可大幅提升客戶使用hicloud之意願。
簡單應用:如何再AWS上架設WordPress網站
1 安裝Juju client於本機(OS: ubuntu12.04)。
2 修改environments.yaml檔案,選擇要產生instance於AWS的哪個Region(ex: us-west-1),並輸入於AWS帳號所產生之key pair。

3 由command line於本機下指令如下,並同時顯示EC2 console變化(參見圖示):
Juju bootstrap (會先產生了一個instance為Juju bootstrap node) juju deploy wordpress juju deploy mysql juju add-relation wordpress mysql
(上述指令多產生了兩個instance跑wordpress與mysql服務,並且產生關聯)
juju expose wordpress(現在可透過54.219.143.14連到WordPress網站) http://ec2-54-219-144-157.us-west-1.compute.amazonaws.com/wp-admin/install.php juju destroy-environment –e amazon (demo完成,經由一個指令destroy amazon上部建的環境,三台instances同時被terminate了)。

You May Also Find These Documents Helpful

  • Satisfactory Essays

    You have the ability to choose from multiple instance types, operating systems, and software packages. It allows you so select a configuration of memory, cpu, instance storage, and the boot partition size that is optimal for your choice of operating system and application. It has numerous Linux distributions, and Microsoft Windows Server.…

    • 365 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    The client device is defined as the devices that demand remote computing resources from Cloud/Fog or Mist computing infrastructure. Computational resources required by the device complying with a set of restriction requirements $r = \left\{ (r_{1},r_{2},...,r_{k})\textrm{ } | \textrm{ } k \in \mathbb{N} \right\}$. As an illustration, we can show as examples of restriction requirements: minimum link speed; Run time; maximum latency and cost associated with the use of the resource.…

    • 232 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    Amazon: Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides resizable compute capacity in the cloud. It is designed to make web-scale computing easier for developers. Amazon EC2 is simple web service interface allows you to obtain and configure capacity with minimal friction. It provides you with complete control of your computing resources and lets you run on Amazon’s proven computing environment. Amazon EC2 reduces the time required to obtain and boot new server instances to minutes, allowing you to quickly scale capacity, both up and down, as your computing requirements change. Amazon EC2 changes the economics of computing by allowing you to pay only for capacity that you actually use. Amazon EC2 provides developers the tools to build failure tough applications and isolate themselves from common failure scenarios that are common amongst other cloud providers. Amazon EC2 presents a true virtual computing environment, allowing you to use web service interfaces to launch instances with a variety of operating systems, load them with your custom application environment, manage your network’s access permissions, and run your image with the number of systems as you desire. The Amazon EC2 will provide some of the following features:…

    • 1408 Words
    • 6 Pages
    Good Essays
  • Satisfactory Essays

    Cjs 210 Week Checkpoint

    • 263 Words
    • 2 Pages

    The different tasks and duties that the police department performs are divided among its members. The tasks of the organization are divided according to personnel. Work assignments are designed so that tasks are given to particular personnel to get accomplished. In the police department, patrol functions are separate from detective functions, which are separate from internal investigative functions. Where the officers are located and the times that they work are established so that the area is covered at all times. The chain of command is established so that each member knows their duties and who they report to. The superiors will know who they are in charge of and the areas that they are in control of. The police departments' operational units are responsible for maintaining order, enforcing the law, and providing services to citizens. Organization is very important to the effectiveness of the police department. Police have areas, or a beat, that they are assigned to in order to maintain order, enforce the law, and provide services to citizens. The patrolmen have times that they are assigned to these areas since the job is one that is a twenty-four hour job and areas must be covered at all times. They also have a purpose which is to complete or maintain the task that they are hired to perform. It is very important for the police department to be organized in order to maintain a safe community for everyone to live in. While it seems that crime is getting worse, Organization is very important to the effectiveness of the police…

    • 263 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Cjs 250 Week 1 Assignment

    • 672 Words
    • 3 Pages

    Allan Pinkerton was born into a family whose forefathers were policemen. At an early age Allan had a need and desire for adventure because of being the son of a police sergeant. Allan Pinkerton’s sense adventure led him to an event that soon changed his life. By accident he stumbled upon a counterfeit ring in Chicago (Geringer,). In fact, Pinkerton’s first assignment was to identify the ring leader. After successfully identifying the leader of the counterfeit ring, Pinkerton was offered a position as an investigator with the Chicago police department in 1846, in which he accepted (Columbia Encyclopedia, 2008). Eventually Pinkerton found himself being asked to be the Chicago’s first detective. With the growth of his new family and the financial stress starting, Pinkerton made the decision to open his own investigative agency. In 1850 Allan Pinkerton officially opened his first detective agency, in the heart of Chicago, called, “The Pinkerton National Detective Agency” (Encyclopedia Britannica, 2009).…

    • 672 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Eco / 365 Sldc Method

    • 590 Words
    • 3 Pages

    The main task for Amazon is to keep ahead of the competition and provide quality products with the benefits of new technological advancements and ideas. Implementing Amazon Elastic Compute Cloud, or Amazon EC2, gives people the opportunity to use cloud computing to utilize Amazon’s computing environment and easier web-scale computing for developers (Amazon.com, 2012). Giving the customer the ability to use cloud computing can reduce the cost, provide flexibility, increase mobility, and provide more data storage (Web 2.0 Journal, 2008). The current issues with Amazon EC2 is the processor is relatively slow and the possibility of security concerns (De Gelas, 2011).…

    • 590 Words
    • 3 Pages
    Good Essays
  • Good Essays

    The purpose of the major crime-reporting programs is to provide an overview of criminal activity. These programs seek to gain information about the frequency of crimes being committed, the victims impacted by such crimes, and also the type of crime committed. When these programs are used successfully an accurate picture of crime (through statistics) can be presented, therefore allowing such programs to aid lawmakers and other government officials. Such statistics aid in creating crime control programs, planning laws, and also give an idea as to what budget needs set forth for these things. To consider a crime-reporting program successful in the United States, the program would need to present an accurate picture of crimes. Unfortunately, this can be hard to accomplish. Reasons such programs face problems is because not all agencies report crimes the same way, if multiple crimes are committed only the most serious may be listed, some victims do not report crimes, or a crime may be reported as cleared when it has not been solved to name a few examples. For these programs to have real success, departments throughout the United States would need to work together to set standards for how and what is reported.…

    • 360 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Jutaposition Rough Draft

    • 766 Words
    • 4 Pages

    Excited to go on his American adventure, Joaquin leaves his Seattle hotel with the hopes of finally being able to get the full tour of one of the most well known American cities. Wanting to see the entire city from a high point, he headed off towards the famous Space Needle. Once inside the tower, as he almost reaches his destination, the elevator he is in suddenly stops. Unable to speak not understand the slightest bit of English, Joaquin panics since he has no clue what is going on and has no one to translate or communicate with. As the amount of non-English speaking immigrants in the United States increase, more and more people have been finding themselves in difficult or confusing situations when it comes to communicating with others. Over the years, although more and more Americans have been introduced to various different languages, language barriers have been one of the major issues in the society.…

    • 766 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    cjs 240 week 2 checkpoint

    • 365 Words
    • 2 Pages

    Juvenile delinquency along with the punishments associated with it seems to be one of the touchier subjects in today’s society. When it comes to juveniles, there are a number of different things that lead them to commit crimes. Things like the level of crime in their community, the bond they have with their parents, and even their economic status all lead juveniles to crime. In order for communities to even start to deter crime among juveniles, they need to start implementing a number of sources. One strategy will not just wipe out juvenile crime, you need a combination of many things to keep children away from crime.…

    • 365 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    Instructions For this two to four page paper (APA compliant), you are to research the future of virtualization and “cloud” computing. Briefly define what exactly is meant by “cloud” computing, its current status, and where it might go in the future. For example, Google Apps is a perfect example of one model of cloud computing. Where might Microsoft find itself a decade later with its cash-cow, Office? Will it still be desktop based? Will it be server based? These are some points to consider. Include a minimum of three references, but using more than three references is enouraged.…

    • 920 Words
    • 4 Pages
    Better Essays
  • Powerful Essays

    Cloud computing is a technology model that allows users to access and obtain delivery of information and resources over the Internet. This model generates all of the features required to support the complete cycle of constructing and delivering web-based applications. Nowadays, more and more companies are investing in the development of this powerful and valuable technology which has revolutionized the way of doing business, selling and marketing products. “It is a simple idea with great impact” that has evolution thanks to the faster and faster Internet connections, as we will discuss later on this paper.…

    • 3864 Words
    • 16 Pages
    Powerful Essays
  • Powerful Essays

    References: 1. Abramson, D., Venugopal, S., & Buyya, R. (2005). The Grid Economy. Proceedings of the IEEE, 93 (3), 1-6. 2. Amazon. (2010, January). Amazon Elastic Compute Cloud (Amazon,EC2).Retrieved from http://aws.amazon.com/ec2/. 3. Armbrust, M., Fox, A., Griffith, R., Joseph, A., Katz, R., Konwinski, A., et al. (2009). Above the Clouds: A Berkeley View of Cloud Computing. UC Berkeley Reliable Adaptive Distributed Systems Laboratory, 2-20. 4. Baarda, D., & de Goede, M. (2001). Basisboek Methoden en Technieken (Vol. 3). Groningen: WoltersNoordhoff bv. 5. Bennett, K., Budgen, D., Brereton, P., Macaulay, L., Munro, M., Burdon, A., et al. (2000). Service-Based Software: The future for Flexible Software. Proceedings of the Seventh Asia-Pacific Software Engineering Conference, (pp. 1-8). 6. Bennett, S., Bhuller, M., & Covington, R. (2009). Architectural Strategies for Cloud Computing. An Oracle White Paper in Enterprise Architecture 13-15. 7.Beulen, E., & Ribbers, P. (2002). Managing Complex IT Outsourcing - Partnerships. Proceedings of the 35th Hawaii International Conference on System Sciences (pp. 3-10). Hawaii: IEEE. 8.Brandic, I., Music, D., & Dustdar, S. (2009). Service Mediation and Negotiation Bootstrapping as First Achievements towards Self-adaptable Grid and Cloud Services. Institute of Information Systems (1), 2-7. 9.Kraemer, K. L., & Pinsonneault, A. (1993). Survey research methodology in management information systems: an assessment. Journal of Management Information Systems, 10 (2), 8-105. 10. Lacity, M., & Hirschheim, R. (1993). Information Systems Outsourcing: Myths, Metaphors and Realities. John Wiley & Sons, Inc. , 112-143. 11. Lacity, M., Khan, S., & Willcocks, L. (2009). A review of the IT outsourcing literature: Insights for practice. Journal of Strategic Information Systems, 18, 5-14. 12.Lenk, A., Klems, M., Nimis, J., & Tai, S. (2009). What 's Inside the Cloud? An Architectural Map of the Cloud Landscape. CLOUD '09 (pp. 23-27). Vancouver: IEEE. 13.Linthicum, D. (2010, April 14). InfoWorld. Retrieved July 29, 2010, from Cloud Computing: http://www.infoworld.com/d/cloud-computing/the-cloudjust-starting-impact-small-business-509?page=0,1…

    • 3095 Words
    • 13 Pages
    Powerful Essays
  • Satisfactory Essays

    PaaS provides services to develop, test, deploy, host and keep it in the similar unified evolution environment. It accomplished the application development process.…

    • 475 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    “Hurry up and bring the drinks, Char!” JuJu shouts impatiently at me from across the room of strangers dancing wildly like fish on land.…

    • 1160 Words
    • 5 Pages
    Better Essays
  • Satisfactory Essays

    Implementing the POS system can improve the JUJU effincy in sales support and service operation…

    • 285 Words
    • 2 Pages
    Satisfactory Essays