Asides
How are WordPress installs getting hacked?
Our friends at WordFence wrote an article today about a survey they recently ran showing that over 55% of all WordPress hacks are through plugins and more than 15% are from Brute Force attacks.
Credit: WordFence articleThe Managed WordPress Service by Matraex is a diligent oversight of your WordPress installation. We provide constant monitoring with weekly in depth review keeping your sight up to date.
Out of Date Plugins
To deal with out of date or insecure plugins we have some rather simple solutios
- Update or replace with an updated secure plugin
- Rebuild the plugin
- or when neither of those are an option, plug known holes, and backup regularly.
Brute Force
To deal with the plethora of Brute Force login attempts we
- Block all IP addresses that attempt to login with an invalid username
- Block all IP addresses if they make 2 failed login attempts
We consider anything less to be a security hole, we even built a WordPress Website Check tool identify whether a site is vulnerable to brute force attempts.
Find out more about our Managed WordPress Service.
Copy Register and Restart a VMWare instance
The scenario: we have two separate VMWare servers version 4.1.0 (260247) 192.168.210.20(server1) and 192.168.210.21 (server2)
We have copied a vmware guest from server1 datastore to server2 datastore. it shows when we browse the datastore, but it will not show in the inventory in vSphere, here is how to address this.
First lets get connected to the command line console on server2.
Enable the local or remote ESXi Shell from the vSphere Client
- Select the host, click the Configuration tab, and click Security Profile in the Software panel.
- In the Services section, click Properties.
- Select ESXi Shell and click Options.
- Temporarily Start the service by clicking the Start button.
- Click OK.
Login to the Console
- Download or start putty.exe,
- Enter the IP address of the VMWare host
- Enter the same username and password you use to login to VSphere.
Register the VM
Find the datastore and vmx file you want to registered
- cd into /vmfs/volumes/
- list the contents to find the datastore your vm is located in
- cd in that directory [#cd datastore1]
- explore the directories to find the .vmx file you want
- Or youcould have just run this command and picked the file you want
# find / -name ‘*.vmx’
Run the Register Command
- vim-cmd /solo/register /vmfs/volumes/datastore1/vm.server.name/vm.server.name.vmx
If you receive a message “(vim.fault.AlreadyExists)”, this means you will just need to remove the previous registration that you already copied over from the other location by moving the vmxf file to a backup location
- mv /vmfs/volumes/datastore1/vm.server.name/vm.server.name.vmxf /vmfs/volumes/datastore1/vm.server.name/vm.server.name.BAK.vmxf
And rerun the register command.
17 Years of apple.com – Website Design
Matraex is a Website Design and Development company in Boise, Idaho. As leaders in our field, we study and document web design from many angles, building tools which record and help evaluate the design of websites.
Announcing – The Website Design – History Browsing Tool
Matraex recently created the Website Design History Browsing tool which allows a visitor to browse through several years of designs from a particular website. Take a look we have posted the history of apple.com website design from 2000 to 2016.
The first page shows a list of 17 thumbnail shots of the apple.com home page over the 17 years between 2000 and 2016. The visitor can click on any one of the thumbnails and view the full screenshot from the beginning of that year. While the apple.com website did change during the year, we generally pulled the screen shot from the earliest day of the year that a change was recorded on the web archive.
Each page that shows the detail of the year, also show a thumbnail of the previous and after years with the ability to browse to those years.
A quick evaluation of the website design of apple.com:
- apple.com’s website design layout has been very consistent layout over the years.
- their navigation bar, has had an identical layout from 2000 to 2006, with only a couple of button changing.
- each year we see that the devices they are highlighting change, but within a similar layout.
- in 2006 apple.com highlighted their introduction of the intel chip into the mac. This was the first time that we saw a departure from the white background, and they gave a blue background to the concept
- in 2007 the iphone was introduced on apple.com and the entire background was changed to black. This year sticks out the most in the overview of the apple.com website design over the years
- in 2008 the apple.com site didn’t introduce any products, but they alluded to something coming by advertising Steve Job’s keynote speech. This was the first year they introduced a design change to the navigation bar.
- from 2009 to 2013, they continued to use the 2008 navigation bar, however they returned to a plain white background and a site that introduced their hardware products.
- In 2014, apple.com’s website design used a call to action for the first time, asking ‘What will your verse be’ with a button to watch a video. This seems to be their website design switch to be to nurturing users instead of selling hardware
- in 2015 and 2016, they continued the call to action method of marketing and nurturing visitors instead of only selling hardware by encouraging users to view a gallery of photos.
Matraex will be adding this same type of history for other popular websites. If you have a suggestion, please let us know via our contact us form.
Matraex Domain Lookup Services
Matraex provides Website Design and Development services to local, regional and national business in many industries. One step that is often overlooked, for new websites and new ideas, is the selection and purchase of a Domain Name.
Many times our clients will already have picked out or purchased their domain name. However, many times, they have an idea, but have not purchased a domain name for it. In these cases, we will search available names, suggest, propose and ultimately help our clients select their domain name.
Once selected, we can quickly purchase and setup the domain name with our name servers to enable our web and mail services. Often the process takes only a few minutes with the biggest delay is from our clients as they decide which available domains to choose.
Bulk Domain Search
There are a few cases when the process of purchasing domains is a bit more involved. In particular, when clients would like to purchase a portfolio of domain names for related websites or services (or simply to make sure no competing company has access to them). In this case, clients will often do their own searches, there are plenty of bulk domain lookup tools out there. Name.com bulk search is one of my goto searches since we register all of our domains through them, however this only works to help us quickly lookup availability of names that we already know. The client often does these searches on there own.
When the client is not sure what they want to do, we often spent a bit more time finding names using some of the bulk domain suggestion tools, in this case we have to dig a little deeper to find good suggestion tools. The suggestion tools below try synonyms in their search for a perfect domain name:
If you have a list of words that you want to easily find a good combination for try: bustaname.com. You will need to know all of the synonyms you would like to try, but the interface is great.
Domain Broker
In a few cases, we have worked to seek and negotiate the purchase of a domain name for a client. Occassionally clients have wanted to keep their names out of the offer, because sellers can get big eyes and ask for more money.
In these cases we have used our name to purchase the domain name.
The services above are typically free when we also do the Website Design for the domains, otherwise we offer the services on a simple hourly consulting basis.
XenServer and XenCenter
Why do we Blog about XenServer and XenCenter?
First, a quick bit about why we chose XenServer
We are small users of the XenServer and XenCenter software, and when we were first evaluating the Hyper Visor, we didn’t know much at all about Virtualizing servers.
At the same time as we were looking at XenServer, we were also looking into HyperV and VMWare. Of the 3, I found the open source model that XenServer had, backed by Cytrix’s large company status, to be the most appealing.
XenServer was also what Amazon AWS was based on, and with our experience with AWS it helped us lean towards XenServer.
To add to this, the XenCenter software was very simple to use, way that we were able to quickly create and manage Pools of servers and simply connect to the console seemed to address the features we would need, and not overcomplicate it like the VM Ware software did. An I liked the simple fast interface.
And finally, since we dont like to have Windows or GUI interfaces in our windows environment, we loved that the Hypervisor is a Linux install we can log into and run ‘xe’ command on.. This makes XenServer is very scriptable.
XenServer is scriptable
Looking back and why we have created so many blog posts about XenServer is simply, because it is so easy to do. As we have run into things that we have had difficulty doing, it has been simple to document the process of figuring it out, We have the option to simply cut and paste our command line history. This seem so much easier than creating picture snippets of a GUI based management system, and it makes it simple to turn our documentation of the process of troubleshooting an issue into a blog post.
Solutions to Problems are easy to forget
When we find a solution to a problem, they can be very easy to implement and forget. What happens here is that we end up doing the same research a year later to find a solution to a problem. This is one of the reasons that many of our blog posts are not polished, the posts just read like a stream of consciousness troubleshooting session. We are not expert article writers, we are expert Website Developers, Server Administrators and technical implementers. However we recognized that when we solve a difficult problem, if we document that problem in a place that is easy to find (our own blog) we can easily come back to it. We simply search our own blog for it.
All of our blog topics
So really, the reasons above apply to many of our blog topics.
- Easy to script, or describe in text (without pictures of it) we are able to cut and paste
- Solution is one that we want to easily be able to find and solve again
Examples of XenServer Blog Posts
- Script for Patching XenServer 6.5
- Changing IP Addresses on a XenServer 6.5 Pool
- Adding and Removing Local Storage from XenServer
- Automating patch installation on XenServer
- Disk write speed on XenServer – single vs mdadm vs hardware raid
- Creating a Bootable USB Install Thumb drive for XenServer
- Deleting Orphaned Disks in Citrix XenServer
- Promoting a XenServer host to pool master
- All XenServer posts
Local Company Bank Switch Notification Form
A Local Company Bank Switch Notification Form helps a customer notify a company of their updated banking information for Automatic Payments.
I am writing this post to help define and discuss the difference between a Local Company Bank Switch Notification Form and a Generic Bank Switch Notification Form.
Take an example company, Big State Power. Many customers of Big State use Automatic Payments to pay their monthly payment. Big State automatically deducts their
Idaho Power – Example Local Company Bank Switch Notification Formpayment from their bank account as it becomes due. When a customer needs to change their bank account, they have to notify Big State Power of the change.
Big State creates a Bank Switch Notification Form so a customer can notify them of the change. Big State is the Local Company in Local Company Bank Switch Notification Form
For Big State, the form has several places to fill out information that is required in order to change the Bank Account automatic payments are deducted from:
- Customer Account Identity (Customer Name, Customer Account)
- New Bank Account Information (Bank Name, Routing Number, Account Number)
- Customer Authorization (Signature , Date)
The document has to be sent to the Big State Power billing offices to process, so the form also has sending instructions and contact information to help with questions.
Benefits of a Local Company Form vs a Generic Bank Switch Notification Form
Many banks also provide forms which can be filled out and sent to Big State Power to notify then of the Automatic Payments change.
Both forms include places to enter:
- Customer Information
- New Bank Account Information
- Customer Authorization
Finding the sending process for a Local Company
However A Generic Bank Switch Notification form does NOT have details about the Company that the form will be mailed to. Some generic forms do have fields where the customer could enter this information once they have found it. Others do not prompt the customer to fill out the name of the company or address that the form is being send to, the form is generic enough to apply to which ever company receives it.
If a customer uses a Generic Bank Switch Notification forms, they will have to research how they will need to deliver the notification form to the company. Typically this would be done by researching on the company website, or calling the company and getting an address. This is the biggest problem with using a Generic Bank Switch Notification Form, the difficulty with finding addresses and processes and noting them, especially when dealing with multiple companies.
To be fair, if the Bank does not provide the user with any Switch Notification form, the user is likely going to have to go to the website or make a phone call in order to find the Local Company Bank Notification Form that has the address on it.
Filling out the same information multiple times
Generic forms often have lots of information about the customer to make sure that the Local Company has enough information to switch the account, that means that the Customer has to fill out lots of information on each of these Generic forms. They have to fill out this information even if the Local Company may not have required it. With a Local Company form, the customer would only have to fill out the information required. This situation is compounded when the customer has to fill out multiple forms, they have to write in MORE information than necessary several times.
In some cases Generic Bank Notification Forms, have the user write in the details of the OLD bank account. For purposes of being complete, this seems like a good idea, however most Local Companies simply don’t require it. When the customer has to fill out this information multiple times, there is even more frustration.
Best of Both Worlds: Generic and Local Company Bank Switch Notification Form
Two different solutions can overcome the frustration that Customers switching banks go through when having to lookup Company switching details.
- The bank can provide the Local Company Bank Switch Notification form at the time the new account is open instead of a Generic Form
- The bank can print the sending instructions for each account on the Generic Bank Switch Notification Form
Bank Prints Local Company Bank Switch Notification Form
In this scenario, when a new customer is switching to the new bank, the New Account Rep’s job is to make it easy. So they would ask the customer which companies they have automatic payments with that they would need to switch. In the case of utilities like Big State Power, this would be simple to have the forms available. There is likely only one or two power companies close to the branch that most customers would be switching to. However it would be very difficult to be able to track down all of the forms for all of the different mobile phone providers, cable and satellite TV providers, mortgage companies, etc.
This is the reason that Banks have created Generic Bank Switch Kits, so they do not have to provide this service.
Bank Prints Local Company Information on Generic Bank Switch Notification
The bank does already have their Generic Form which they could provide to the customer, so if they could fill in the instructions for how the customer should send this information to the Local Company that would save the customer time. The bank does deal with many customers, and is in a prime position to collect this information and save the Customer time and frustration from having to look the information up.
The same issue applies here though, there are simply too many companies out there and the time that it would take to organize all of these companies, quickly identify the companies that the Customer is using and print out the forms, is not feasible using paper.
Examples of Local Company Bank Switch Notification Forms
To help describe what these forms look like, We have included a couple links to some Local Company Bank Switch Notification Forms. Companies do change these occasionally, so please let us know if you find that some of these have changed.
If you have any suggestions of good examples, please let us know and we will add them:
- Idaho Power – idahopower-bankswitch-notification.pdf
- Mirimar, Florida Water & Sewer – ACH Authorization – ACHauthorization.pdf
Matraex writes about Bank Switch Kits as it researches the Switch Kit industry to improve our Auto Switch Kit product
Components of a Coordinated Bank Switch Kit
A Bank Switch Kit is a form or set of forms that helps a customer switch their bank account from one bank to a new bank account. Generally this is focused around transferring automatic payments from the old bank to the new bank.
We have identified several types of Bank Switch Kits and we discuss each of them in this series
- Simple – contains a Notification Form to send to each company
- Organized – contains a Notification Form to send to each company and a Worksheet to help coordinate the transfers
Within the Switch Kits we have identified two types of Notification Forms
- Generic – A form created by the bank, which can be used to send to each company
- Specific – A form specific to each vendor company to assist their customer with switching banks
Organized Bank Switch Kit
Washington Federal Switch Organizer Company Type ListOrganized Bank Switch Kits have a form or a worksheet to help the bank customer keep track of transferring automatic payments for the multiple companies they use.
Identifying and Listing the Companies
The Organizer Worksheet is typically made up of a way to check a box next to a list the companies that will need to have automatic payments transferred over. They are typically made up of one or more of the following:
- Blank Lines – The customer has blank fields where they can write down each of the companies that they need to notify
- Common Company Types – Lists the common types of companies that each customer may have. (Mortgage, Power, Gas, Phone, Cable, HOA)
- Specific Company List – Smaller Community Banks have fewer utilities their customers might be working with and they might be able to list the company names for Power, Gas or other utilities.
Each of these methods prompts the customer to identify each of the companies that they have automatic payments with. These worksheets simplify a task that could seem overwhelming to identify each of the companies they work with on auto payment.
Tracking Notification of Bank Account Switch
Notifying a company that you would like them to switch automatic payments to a new bank accounts takes time. Bank Switch Kit Organizer Worksheets are designed to simply the process.
Not all worksheets are designed the same but they attempt to help collect some amount of information so that the customer has a single place they have to refer to. Then they organize the process of notifying and tracking the progress of notifying the companies.
Bremer Bank Organized Switch Kit with places to track company name and contact info, account and payment information and whether the switch is complete- Collect the company names and account numbers of all accounts
- Track the notification instructions for notifying each specific company (mailing address, phone number, etc)
- Track dates and methods that notification was sent or started
- Track dates of when the switch was successful ans confirmed
This will typcially be done by listing out a number of fields next to each of the companies that were identified or listed on the Organizer Worksheet. The most common types of fields are:
- Company Name – A place to write the actual name of the company, this is the only way that a company name is listed on a Blank Lines style of worksheet, some Common Company Types worksheets do not make room for this, since the customer often already knows exactly who their power, gas and cable provider is.
- Date – A date to track the process of when transfer is started, often room for more than one date can be made so that the form can track the date the switch was confirmed.
- Notification Instructions – a place to note how the company should be notified when a bank account switch needs to occur
- Account #- a convenient place to write the number of the account the customer holds with that company
- Amount – you can write the amount of the automatic payment that is made
- Notified – a place to mark a check or a date when you sent a notice to the company requesting a switch to the new account
- Switched – a place to mark a check or a date after you have confirmed that the company has official switched over to your new bank.
When a bank includes an Organizer worksheet in their Bank Switch Kit, they give a tool for the customer to keep track of the process and know where the next step is.
Examples of Organizer Worksheets for Switch Kits
In researching the different Organizer Worksheets, we found many different styles and we have linked to several of them below
- Washington Federal [link] – Has an overview page for their switch kit which lists several steps for switching, Step 2 is to download their Switch Organizer which lists several Common Company Types. The form helps the customers collect their account numbers and mark whether the company has been ‘Notified’ and whether the automatic payment has been ‘Switched’. The form does not have any place to list the name of the company next to the company type, and it does not attempt to help collect Notifications Instructions for any of the companies. The form does provide blanks and lines for a great number of possible companies and company types that might need to be switched.
- Bremer [link] – A community bank in Ohio, has single pdf file Switch Kit which has all of the instructions for how to fill out the switch kit. On page 5 they have a list of less than 10 Common Company Types that may need to have automatic payments transferred from. The Table has a grid with columns to enter the phone number, account number, amount , payment date, and a check box for when the switch was completed. Better the Washington Federal option, the Kit has a place to list the phone number, which could be useful help coordinate the and verify that the transfer went through. Many companies require that you mail them a form though, and this form falls short of providing a place to track the address to send the form. One unique item on this table is the payment date. While this is often a bit more complex, sometimes the date that transfers have to be made, must be carefully timed with the date the date that automatic payments will be withdrawn to make sure funds are available and not split between two banks.
Examples of Switch Kits which fall short of Organizer Worksheets
- Central Bank [link] – Has an overview page similar to Washington Federal, where they describe the process of switching accounts starts with opening an account and then “Gather your account information and enter it on the Easy Switch Kit Account Information Worksheet-Form A (below) designed specifically for this purpose.” Later on the page they provide the link to the PDF Switch Kit Organizer Worksheet file named ‘SwitchKit_formA-LexWin.pdf’. Oddly, when opening this file, it has a title that shows ‘Microsoft Word – Switch Kit Acct_Form-A.doc’. If you look at the document, there is very little information that you would actually need as part of a switch kit. Typcially you simply need the NEW routing number and account number that you need to send to each company to let them know where they need to go. In this form, they prompt you to enter a plethora of information about the account owner, joint account owner and the new account information. In most cases you already have this information in your other documentation on the bank, which seems to make this form unnecessary. It does not help the customer switch their automatic payments and direct deposits over to the new bank, it actually just helps the new account owner collect information about them selves which will help them to open their account more quickly, saving the New Accounts banker time. We actually call this type of Kit a New Account Information Organization Kit as it helps a customer setup a new account, without any assistance related to moving money, automatic payments or direct deposits from a previous bank.
Matraex studies and produces articles related to Bank Switch kits as part of our research to release upgraded features in our Auto Switch Kit product.
Announcing the Matraex Web Development and Design Vocabulary List
Summary: Matraex has launched a Matraex Web Design and Development Vocabulary List centrally define terms for our industry and improve communication internally and with our clients. We are adding to the list frequently and appreciate suggestions
Web Design Communication Need
Matraex has worked with clients during the last 15 years, developing and supporting marketing websites and custom web applications.
Each project is different and brings together a unique combination of client understanding and needs.
Preferences, capabilities and web development technologies and are constant evolving and each unique situation has presented us with opportunities to improve our products and our process. Across the hundreds of the projects we have implemented (I should count them), one thing that would have helped each of them is improved communication.
We find it useful to educate our clients on the terms we use when discussing projects. An important part of starting a project is to take time to define the vocabulary we use and agree on what certain terms mean. This allows us to have more meaningful conversations with better understanding and less confusions.
Design Vocabulary List
These thoughts have led us to create the “Matraex Web Design and Development Vocabulary List“. This list has many of the terms that define what our industry does, and it defines many of the terms we use in the web design industry.
Many of the terms have a simple description or definition of the Term, however with some of the terms we have spent more time defining them. Where we reference other websites such as Wikipedia, or blogs where other individuals write about the terms.
In some cases there is some ambiguity between some of the terms, and we write about the differences between the two terms.
And of course, since the terms often apply directly to what we do here at Matraex, we often included details about how the word applies to the work we do at Matraex.
Changes to the Vocabulary List
Depending on when you happened upon this blog, you may find that the list is sparse (such as when we first launch this list in February of 2016) or that it is very well filled out, we are adding words as we can, and we will enhance the definitions of words as we find better ways do describe them.
I invite any one that reads any of these articles, to send me suggestions for words that should be added to or changed on the list. I welcome suggestions:
- of update or enhance or extend the definition of a term
- for new words that you think should be added
- of article links which lend to the definitions of new (or existing) words on our list
- for articles that could be written to disambiguate two terms
Switch Kit – Bank Retail Manager Conversation
The following is part of a hypothetical conversation with the Retail Accounts Manager at ‘First State Bank’ about how Matraex’s Auto Switch Kit meets an important business need. The Auto Switch Kit is an online three to five minutes form wizard to print automatic payment transfer forms as new accounts signup to your bank, increasing bank revenue and saving accounts which stop at the minimum.
Our dialog starts just a few minutes into the conversation….
Michael: Auto Switch Kit Product Advocate
Rene: The Retail Accounts Manager at First New State Bank.
Michael: How long does it take for your new retail Customers to fill out the forms necessary to switch their automatic payments to your bank?
Rene: Actually, it is much better than it used to be, we provide them with our First New State Switch Kit, and customers simply have to fill it out for each account they want to switch over. Customers don’t have to make phone calls or search multiple websites for the forms to send to their power, gas and other companies.
Michael: Then, customers are pretty fast at sending those forms in and transferring their automatic payments over to your bank?
Rene: Some are, but sometimes it takes a while for them to search out all of the companies and call them to find out where to send them. Actually, some customers never complete their plan to transfer direct deposits and automatic payments.
Michael: Do you bank every evaluate the value of transaction fees or other revenue lost as a result of a slow or aborted switch to your bank?
Rene: No, but we do know that a customer that completes the switch immediately is worth more than one that takes weeks or months. Customers that abort the switch actually cost the bank a little bit of money. There is also the cost of making followup phone calls to encourage them to complete the transfer. Our accounts have very attractive benefits, but customers some the process can be so intimidating that some give up, we don’t have any idea how many new customers we could get if auto payment by the process that they leave their new account with the minimum balance and return to their previous bank.
Michael: What if I told you that the Auto Switch Kit would take 2 to 5 additional minutes of your New Account Rep’s time, and they could deliver every one of the forms, filled out and ready for customer signature? The bank could even mail them to help ensure that the automatic transfers happened.
Rene: I am skeptical. Some customers have more than a dozen different accounts. Wouldn’t our Representative have to fill out each form? It probably takes our customers hours to find all of the information and fill it all out.
Michael: That is certainly one of the reasons we created the Auto Switch Kit. After new customers leave your branch with an account, they still have lots of work to do before they truly become your customer. Matraex’s Auto Switch Kit team preloads each local company so your Rep simply select each one as the customer says they have auto pay with them.
Rene: Is that when they fill out each individual form? Doesn’t that take just as long?
Michael: Ah! This is when the magic happens. A single form prompts for the customer’s information, their account number with First New State Bank And each of the local company account numbers. Your rep already has this information so selecting the check boxes and quickly filling out each of the fields only takes a minute or two. They click to create the Switch Kit and each company forms is printed and ready for customer signature. Less than 5 extra minutes and your new customer has sign-able forms ready to send to each company that will switch their accounts.
Rene: That sounds great but I still have a some of questions. How did my Representative get all of the Customer’s account numbers for their Utilities?
Michael: That is something that Reps will get better at with a little practice, they can give the Customer a paper with list of companies to research their account number on their phone while the Rep is filling out other forms. Many Customers don’t have smart phones so if they talked to the Rep before coming to the branch, they could have asked the Customer to bring a bill from each of the companies.
Rene: Without a quick tool to automatically fill out those forms, we never could take the time to fill out these forms, so we didnt have the Customer bring those with them, with this we could have their account almost completely filled out. But what about the new accounts that simply don’t know their account numbers, if they leave without finishing those forms wouldn’t they still be in the same situation as before the Auto Switch Kit?
Michael: We suggest two possible methods, one method is to give them the fully filled out form. The company’s address is already on it, all they have to do is fill in the account number for that company and mail it off. This is much easier than having a customer start with a blank form they have to fill out 10 times for different companies. The second method is to print the form, ask for the customer’s signature and put the form in a customer file. Then set a time the Rep can call the Customer when they are home with their paper work to collect those final numbers. Then you mail the forms to the company.
Rene: Hmm, that way we could take an active role in completing the New Account transfer. In our current method we are calling all clients after a week or two in order to find out if they have switched, with this new method some Customers would have the entire transfer paperwork before they leave the branch and others would have it 90% filled out before they leave the branch. Sign us up!
Michael: Hold on, I am just an Auto Switch Kit Product Advocate, use the form below to get in touch with an actual Auto Switch Kit Team Member from Matraex.
Rene: Great! I will do that right now.
[contact-form-7 id=”9556″ title=”Auto Switch Kit – Full Contact Form”]
AWS CodeDeploy Solutions
We have worked with several clients, to come up with Code Deployment solutions.
In some cases, the solutions is small, on a simple website redesign where the client simply wants to have the revisions history that comes with a Code repository such as GIT or Subversion (SVN).
However in more robust environments, where the client needs to have separate development, test and productions servers (dev, test and live), we often end up building a more involved software development lifecycle (SDLC).
One of the Software Development Life Cycles we use makes use of the AWS platform and the Code Deployment tools. This article is to describe a little bit about how we have used the code deployment tools, and to give Round Up all of the articles we have written as of 2/26/2016 about solving issues with AWS Code Deploy.
CodeDeploy on AWS
CodeDeploy on AWS is a tool which automatically connects to a group of EC2 servers, to deploy code and runs scripts. This automates the labor intensive task of connecting to and consistently updating several each time that a new version of a new website design or development.
The concept behind the way we have used it is. Setup a CodeDeployment group and associate it with an AutoScaling group. When your group grows, the code is deployed to it, When your code is deployed all members of the group receive it.
- make your source code changes in your development environment
- zip up your source code and upload it to an S3 bucket
- create a new revision within your deployment group and start the deployment
The AWS system will, over the course of 1 to 30 minutes, go through each of your servers (depeing on your deployment configuration, I always use OneAtATime)
The following Roundup, lists each of the articles matraex has written about the AWS Code Deployment
Challenges when working with CodeDeploy and an AWS AutoScaling Group
I write about how in one setup I used a GIT repo to store my code, then I write some automated scripts (deploy.php) to check in the code, and deploy it to a test environment, and then to deploy the code to live (each has their own separate group).
In this AWS Auto Scaling Group – CodeDeploy Challenges article
I talk:
- about how errors in the codedeploy-agent are hard to debug
- if a server is terminating while you deploy, the deployment could fail
- in an update, I describe a script command that can be run to clean up the install to prevent some deployment failure
Debugging CodeDeploy
I write about some of the difficulties of understanding what is happening during a code deployment and how to debug it.
The quick of it is to update ‘/etc/codedeploy-agent/conf/codedeployagent.yml’ to have ‘verbose=true’ and restart the codedeployagent and then read the ‘/var/log/aws/codedeploy-agent/codedeployment-agent.log’ file to figure out what happened.
Read the entire article Debugging CodeDeployment on AWS here for more of a description with the actual commands highlighted and for a couple error examples